Changeset 2793 for trunk/sources/HeuristicLab.MainForm.WindowsForms
- Timestamp:
- 02/14/10 01:57:07 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2/ActionUserInterfaceItem.cs
r2790 r2793 36 36 this.toolStripItem = value; 37 37 if (firstTimeSet) 38 this.OnToolStripItemSet( new EventArgs());38 this.OnToolStripItemSet(EventArgs.Empty); 39 39 } 40 40 } -
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2/MainForm.cs
r2790 r2793 110 110 Invoke((MethodInvoker)OnActiveViewChanged); 111 111 else if (ActiveViewChanged != null) 112 ActiveViewChanged(this, new EventArgs());112 ActiveViewChanged(this, EventArgs.Empty); 113 113 } 114 114 … … 142 142 Invoke((MethodInvoker)FireMainFormChanged); 143 143 else if (Changed != null) 144 Changed(this, new EventArgs());144 Changed(this, EventArgs.Empty); 145 145 } 146 146 … … 150 150 if (!this.initialized) { 151 151 this.initialized = true; 152 this.OnInitialized( new EventArgs());152 this.OnInitialized(EventArgs.Empty); 153 153 } 154 154 this.CreateGUI(); -
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2/View.cs
r2790 r2793 96 96 this.IsShown = false; 97 97 MainFormManager.GetMainForm<MainForm>().HideView(this); 98 this.OnHidden( new EventArgs());98 this.OnHidden(EventArgs.Empty); 99 99 } 100 100 … … 102 102 protected virtual void OnCaptionChanged() { 103 103 if (CaptionChanged != null) 104 CaptionChanged(this, new EventArgs());104 CaptionChanged(this, EventArgs.Empty); 105 105 } 106 106 … … 110 110 Invoke((MethodInvoker)OnChanged); 111 111 else if (Changed != null) 112 Changed(this, new EventArgs());112 Changed(this, EventArgs.Empty); 113 113 } 114 114
Note: See TracChangeset
for help on using the changeset viewer.