- Timestamp:
- 10/15/09 14:04:56 (15 years ago)
- Location:
- branches/Mainform refactoring/HeuristicLab.MainForm.WindowsForms/3.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Mainform refactoring/HeuristicLab.MainForm.WindowsForms/3.2/DockingMainForm.cs
r2426 r2434 53 53 DockContent dockForm = new DockForm(view); 54 54 dockForm.Activated += new EventHandler(DockFormActivated); 55 dockForm.GotFocus += new EventHandler(DockFormActivated); 55 56 dockForm.FormClosing += new FormClosingEventHandler(view.OnClosing); 56 57 dockForm.FormClosed += new FormClosedEventHandler(view.OnClosed); … … 76 77 ViewClosed(dockForm.View); 77 78 dockForm.Activated -= new EventHandler(DockFormActivated); 79 dockForm.GotFocus -= new EventHandler(DockFormActivated); 78 80 dockForm.FormClosing -= new FormClosingEventHandler(dockForm.View.OnClosing); 79 81 dockForm.FormClosed -= new FormClosedEventHandler(dockForm.View.OnClosed); -
branches/Mainform refactoring/HeuristicLab.MainForm.WindowsForms/3.2/MultipleDocumentMainForm.cs
r2426 r2434 59 59 DocumentForm form = new DocumentForm(view); 60 60 form.Activated += new EventHandler(MultipleDocumentFormActivated); 61 form.GotFocus += new EventHandler(MultipleDocumentFormActivated); 61 62 form.FormClosing += new FormClosingEventHandler(view.OnClosing); 62 63 form.FormClosed += new FormClosedEventHandler(view.OnClosed); … … 87 88 ViewClosed(form.View); 88 89 form.Activated -= new EventHandler(MultipleDocumentFormActivated); 90 form.GotFocus -= new EventHandler(MultipleDocumentFormActivated); 89 91 form.FormClosing -= new FormClosingEventHandler(form.View.OnClosing); 90 92 form.FormClosed -= new FormClosedEventHandler(form.View.OnClosed); -
branches/Mainform refactoring/HeuristicLab.MainForm.WindowsForms/3.2/SingleDocumentMainForm.cs
r2426 r2434 54 54 form.ShowInTaskbar = true; 55 55 form.Activated += new EventHandler(DocumentFormActivated); 56 form.GotFocus += new EventHandler(DocumentFormActivated); 56 57 form.FormClosing += new FormClosingEventHandler(view.OnClosing); 57 58 form.FormClosed += new FormClosedEventHandler(view.OnClosed); … … 77 78 ViewClosed(form.View); 78 79 form.Activated -= new EventHandler(DocumentFormActivated); 80 form.GotFocus -= new EventHandler(DocumentFormActivated); 79 81 form.FormClosing -= new FormClosingEventHandler(form.View.OnClosing); 80 82 form.FormClosed -= new FormClosedEventHandler(form.View.OnClosed);
Note: See TracChangeset
for help on using the changeset viewer.