Inheritance: WeifenLuo.WinFormsUI.Docking.DockContent
示例#1
0
 void CreateBrushForm()
 {
     brushForm = new BrushForm();
     brushForm.BrushChanged += brushForm_BrushChanged;
     brushForm.Shown        += (s, e) => brushesToolStripMenuItem.Checked = true;
     brushForm.FormClosing  += (s, e) =>
     {
         e.Cancel = true;
         brushForm.Hide();
         brushesToolStripMenuItem.Checked = false;
     };
 }
示例#2
0
 void CreateBrushForm()
 {
     brushForm = new BrushForm();
     brushForm.BrushChanged += brushForm_BrushChanged;
     brushForm.Shown += (s, e) => brushesToolStripMenuItem.Checked = true;
     brushForm.FormClosing += (s, e) =>
     {
         e.Cancel = true;
         brushForm.Hide();
         brushesToolStripMenuItem.Checked = false;
     };
 }