Free cookie consent management tool by TermsFeed Policy Generator

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).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.