Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/18/10 10:59:25 (14 years ago)
Author:
mkommend
Message:

registered on additional event ActiveContentChanged in !WinFormsUI to fire ActiveViewChanged (ticket #843)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2/MainFormBase.cs

    r2591 r2636  
    176176          views[view] = form;
    177177          form.Activated += new EventHandler(FormActivated);
    178           form.GotFocus += new EventHandler(FormActivated);
    179178          form.FormClosing += new FormClosingEventHandler(view.OnClosing);
    180179          form.FormClosing += new FormClosingEventHandler(((ViewBase)view).OnClosingHelper);
     
    192191    }
    193192
    194     protected virtual void Show(IView view, bool firstTimeShown) {     
     193    protected virtual void Show(IView view, bool firstTimeShown) {
    195194    }
    196195
     
    245244
    246245      form.Activated -= new EventHandler(FormActivated);
    247       form.GotFocus -= new EventHandler(FormActivated);
    248246      form.FormClosing -= new FormClosingEventHandler(view.OnClosing);
    249247      form.FormClosing -= new FormClosingEventHandler(((ViewBase)view).OnClosingHelper);
     
    269267
    270268    #region create menu and toolbar
    271     protected virtual void CreateGUI() {     
    272 
     269    protected virtual void CreateGUI() {
    273270      IEnumerable<IMenuItem> toolStripMenuItems =
    274271        from mi in ApplicationManager.Manager.GetInstances(userInterfaceItemType)
Note: See TracChangeset for help on using the changeset viewer.