Table of Contents

Method ShowDialogGoToLine

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ShowDialogGoToLine(int, int, AbstractControl?, Action<int>, Action<LongFromUserParams>?)

Shows 'Go To Line' dialog.

public static void ShowDialogGoToLine(int lines, int line, AbstractControl? owner, Action<int> onApply, Action<LongFromUserParams>? onBeforeShow = null)

Parameters

lines int

Number of lines.

line int

Current line number.

owner AbstractControl

Dialog owner.

onApply Action<int>

Action to call when the user clicks 'Ok' button.

onBeforeShow Action<LongFromUserParams>

Action to call before dialog is shown.

ShowDialogGoToLine(object?)

Shows 'Go To Line' dialog.

public static void ShowDialogGoToLine(object? textBox)

Parameters

textBox object

Remarks

textBox parameter must support ISimpleRichTextBox interface.