private void 转到行ToolStripMenuItem_Click(object sender, EventArgs e) { MarkdownEditor me = meditorManager.GetCurrEditor(); if (me == null) { return; } if (me.GetTextBox().Document.LineCount > 0) { //Show the dialog GoToLineDialog gtl = new GoToLineDialog(me.GetTextBox()); gtl.ShowDialog(); } }
private void 转到行ToolStripMenuItem_Click(object sender, EventArgs e) { MarkdownEditor me = meditorManager.GetCurrEditor(); if (me == null) return; if (me.GetTextBox().Document.LineCount > 0) { //Show the dialog var gtl = new GoToLineDialog(me.GetTextBox()); gtl.ShowDialog(); } }