Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5079 for trunk/sources


Ignore:
Timestamp:
12/10/10 13:27:28 (14 years ago)
Author:
mkommend
Message:

Moved Dispose method from Designer.cs to ContentView.cs (ticket #1326).

Location:
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ContentView.Designer.cs

    r3742 r5079  
    2626    /// </summary>
    2727    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 (disposing) {
    35         if (Content != null) DeregisterContentEvents();
    36         if (components != null) components.Dispose();
    37       }
    38       base.Dispose(disposing);
    39     }
    40 
    4128    #region Component Designer generated code
    4229
     
    5643
    5744    }
    58 
    5945    #endregion
    6046  }
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ContentView.cs

    r4519 r5079  
    111111      base.SetEnabledStateOfControls();
    112112    }
     113
     114    /// <summary>
     115    /// Clean up any resources being used.
     116    /// </summary>
     117    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
     118    protected override void Dispose(bool disposing) {
     119      if (disposing) {
     120        if (Content != null) DeregisterContentEvents();
     121        if (components != null) components.Dispose();
     122      }
     123      base.Dispose(disposing);
     124    }
    113125  }
    114126}
Note: See TracChangeset for help on using the changeset viewer.