Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/24/10 03:10:34 (15 years ago)
Author:
swagner
Message:

Implemented reviewers' comments (#893)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimizer/3.3/MenuItems/StartPageMenuItem.cs

    r3298 r3519  
    4343    protected override void OnToolStripItemSet(EventArgs e) {
    4444      MainFormManager.MainForm.ViewShown += new EventHandler<ViewShownEventArgs>(MainForm_ViewShown);
    45       MainFormManager.MainForm.ViewClosed += new EventHandler<ViewEventArgs>(MainForm_ViewClosed);
     45      MainFormManager.MainForm.ViewHidden += new EventHandler<ViewEventArgs>(MainForm_ViewHidden);
    4646
    4747      menuItem = ToolStripItem as ToolStripMenuItem;
     
    5656        menuItem.Checked = true;
    5757    }
    58     private void MainForm_ViewClosed(object sender, ViewEventArgs e) {
     58    private void MainForm_ViewHidden(object sender, ViewEventArgs e) {
    5959      if ((e.View is StartPage) && (menuItem != null))
    6060        menuItem.Checked = false;
Note: See TracChangeset for help on using the changeset viewer.