Наследование: WeifenLuo.WinFormsUI.Docking.DockContent
Пример #1
0
 void CreateHistoryForm()
 {
     historyForm              = new HistoryForm();
     historyForm.Shown       += (s, e) => historyToolStripMenuItem.Checked = true;
     historyForm.FormClosing += (s, e) =>
     {
         e.Cancel = true;
         historyForm.Hide();
         historyToolStripMenuItem.Checked = false;
     };
 }
Пример #2
0
 void CreateHistoryForm()
 {
     historyForm = new HistoryForm();
     historyForm.Shown += (s, e) => historyToolStripMenuItem.Checked = true;
     historyForm.FormClosing += (s, e) =>
     {
         e.Cancel = true;
         historyForm.Hide();
         historyToolStripMenuItem.Checked = false;
     };
 }