Пример #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);
 }
Пример #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);
 }
Пример #3
0
 private SelectEditorView CreateSelectEditorView() {
   return SelectEditorView.Create(Controller.TableName);
 }