• Starting the Control Spy [Telerik Spy Controls]

    To start the Control Spy, create and display a new instance of the RadControlSpyForm contained in the Control Spy library:

    using Telerik.WinControls.RadControlSpy;

    [C#] Showing the Control Spy

    using Telerik.WinControls.RadControlSpy;

    namespace RadControlSpyDemo
    {
    public partial class Form1 : Form
    {
    public Form1()
    {
    InitializeComponent();
    }
    private void radButton1_Click(object sender, EventArgs e)
    {
    RadControlSpyForm spyForm = new RadControlSpyForm();
    spyForm.Show();
    }
    }
    }




    [VB] Showing the Control Spy Copy Code

    Imports Telerik.WinControls.RadControlSpy

    Namespace RadControlSpyDemo
    Public Partial Class Form1
    Inherits Form
    Public Sub New()
    InitializeComponent()
    End Sub
    Private Sub radButton1_Click(ByVal sender As Object, ByVal e As EventArgs)
    Dim spyForm As New RadControlSpyForm()
    spyForm.Show()
    End Sub
    End Class
    End Namespace
    Source of Information : 2002-2010 Telerik Help


0 comments:

Leave a Reply