public void ShowGoToDialog()
{
var gd = new GoToDialog
{
CurrentLineNumber = Scintilla.Lines.Current.Number,
MaximumLineNumber = Scintilla.Lines.Count,
Scintilla = Scintilla
};
if (gd.ShowDialog() == DialogResult.OK)
this.Line(gd.GotoLineNumber);
Scintilla.Focus();
}