Changeset 5237 for trunk/sources/HeuristicLab.MainForm.WindowsForms
- Timestamp:
- 01/08/11 01:47:47 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/DockForm.Designer.cs
r3732 r5237 26 26 /// </summary> 27 27 private System.ComponentModel.IContainer components = null; 28 29 /// <summary>30 /// Clean up any resources being used.31 /// </summary>32 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>33 protected override void Dispose(bool disposing) {34 if (View != null)35 View.CaptionChanged -= new System.EventHandler(View_CaptionChanged);36 if (disposing && (components != null)) {37 components.Dispose();38 }39 base.Dispose(disposing);40 }41 28 42 29 #region Windows Form Designer generated code -
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/DockForm.cs
r4068 r5237 73 73 } 74 74 } 75 76 protected override void Dispose(bool disposing) { 77 if (View != null) 78 View.CaptionChanged -= new System.EventHandler(View_CaptionChanged); 79 if (disposing && (components != null)) { 80 components.Dispose(); 81 } 82 base.Dispose(disposing); 83 } 84 75 85 private IView view; 76 86 public IView View { -
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/DocumentForm.Designer.cs
r3732 r5237 26 26 /// </summary> 27 27 private System.ComponentModel.IContainer components = null; 28 29 /// <summary>30 /// Clean up any resources being used.31 /// </summary>32 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>33 protected override void Dispose(bool disposing) {34 if (view != null)35 view.CaptionChanged -= new System.EventHandler(View_CaptionChanged);36 if (disposing && (components != null)) {37 components.Dispose();38 }39 base.Dispose(disposing);40 }41 28 42 29 #region Windows Form Designer generated code -
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/DocumentForm.cs
r4068 r5237 50 50 } 51 51 52 protected override void Dispose(bool disposing) { 53 if (view != null) 54 view.CaptionChanged -= new System.EventHandler(View_CaptionChanged); 55 if (disposing && (components != null)) { 56 components.Dispose(); 57 } 58 base.Dispose(disposing); 59 } 60 52 61 private void UpdateText() { 53 62 if (InvokeRequired) -
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/MainForm.cs
r4234 r5237 430 430 private void ToolStripItemClicked(object sender, EventArgs e) { 431 431 System.Windows.Forms.ToolStripItem item = (System.Windows.Forms.ToolStripItem)sender; 432 ((IActionUserInterfaceItem)item.Tag).Execute(); 432 try { 433 ((IActionUserInterfaceItem)item.Tag).Execute(); 434 } 435 catch (Exception ex) { 436 ErrorHandling.ShowErrorDialog((Control)MainFormManager.MainForm, ex); 437 } 433 438 } 434 439 #endregion
Note: See TracChangeset
for help on using the changeset viewer.