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