Changeset 3519 for trunk/sources/HeuristicLab.Optimizer/3.3
- Timestamp:
- 04/24/10 03:10:34 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimizer/3.3/MenuItems/StartPageMenuItem.cs
r3298 r3519 43 43 protected override void OnToolStripItemSet(EventArgs e) { 44 44 MainFormManager.MainForm.ViewShown += new EventHandler<ViewShownEventArgs>(MainForm_ViewShown); 45 MainFormManager.MainForm.View Closed += new EventHandler<ViewEventArgs>(MainForm_ViewClosed);45 MainFormManager.MainForm.ViewHidden += new EventHandler<ViewEventArgs>(MainForm_ViewHidden); 46 46 47 47 menuItem = ToolStripItem as ToolStripMenuItem; … … 56 56 menuItem.Checked = true; 57 57 } 58 private void MainForm_View Closed(object sender, ViewEventArgs e) {58 private void MainForm_ViewHidden(object sender, ViewEventArgs e) { 59 59 if ((e.View is StartPage) && (menuItem != null)) 60 60 menuItem.Checked = false;
Note: See TracChangeset
for help on using the changeset viewer.