Esempio n. 1
0
 private void FileNewMenuItem_Click(object? sender, EventArgs e) {
   SelectEditorView.Text = "Select Table for New Editor";
   if (SelectEditorView.ShowDialog(this) == DialogResult.Cancel) {
     return;
   }
   Cursor = Cursors.WaitCursor;
   BeginInvoke((Action)NewEditorAsync);
 }
Esempio n. 2
0
 private void FileOpenMenuItem_Click(object? sender, EventArgs e) {
   if (!MdiChildren.Any()) {
     FileNewMenuItem_Click(sender, e);
     return;
   }
   SelectEditorView.Text = "Select Table for Current Editor";
   if (SelectEditorView.ShowDialog(this) == DialogResult.Cancel) {
     return;
   }
   Cursor = Cursors.WaitCursor;
   BeginInvoke((Action)OpenEditorAsync);
 }