- Timestamp:
- 01/18/10 10:59:25 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2/MainFormBase.cs
r2591 r2636 176 176 views[view] = form; 177 177 form.Activated += new EventHandler(FormActivated); 178 form.GotFocus += new EventHandler(FormActivated);179 178 form.FormClosing += new FormClosingEventHandler(view.OnClosing); 180 179 form.FormClosing += new FormClosingEventHandler(((ViewBase)view).OnClosingHelper); … … 192 191 } 193 192 194 protected virtual void Show(IView view, bool firstTimeShown) { 193 protected virtual void Show(IView view, bool firstTimeShown) { 195 194 } 196 195 … … 245 244 246 245 form.Activated -= new EventHandler(FormActivated); 247 form.GotFocus -= new EventHandler(FormActivated);248 246 form.FormClosing -= new FormClosingEventHandler(view.OnClosing); 249 247 form.FormClosing -= new FormClosingEventHandler(((ViewBase)view).OnClosingHelper); … … 269 267 270 268 #region create menu and toolbar 271 protected virtual void CreateGUI() { 272 269 protected virtual void CreateGUI() { 273 270 IEnumerable<IMenuItem> toolStripMenuItems = 274 271 from mi in ApplicationManager.Manager.GetInstances(userInterfaceItemType)
Note: See TracChangeset
for help on using the changeset viewer.