The GotoDialog class implements a Windows Forms dialog box which can be used to move the current input position to a certain page, section, line, table or bookmark. The new input position is shown with a marker. The dialog can be opened as a modeless dialog box. Each item of the dialog box has a name, available through its Name property, which corresponds with a member of the GotoDialog.DialogItem enumeration. The GotoDialog.FindItem method can be used to get a certain item and manipulate, move or delete it. The GotoDialog is a modeless dialog box which must be shown with the GotoDialog.Show method.
[C#] public class GotoDialog : System.Windows.Forms.Form
[Visual Basic] Public Class GotoDialog Inherits System.Windows.Forms.Form
|GotoDialog||Creates a GotoDialog object for the specified Windows Forms TextControl.|
|FindItem||Finds a control that has the provided identifier name.|
The following example creates a GotoDialog object and shows the dialog box:
[C#] GotoDialog dlg = new GotoDialog(textControl1); dlg.Show();
[Visual Basic] Dim dlg As New GotoDialog(textControl1) dlg.Show()