/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } if (disposing) { if (Gmo != null) { Gmo.Dispose(); } if (Gpg != null) { Gpg.Dispose(); } if (Gopt != null) { Gopt.Dispose(); } if (_grid != null) { _grid.Dispose(); } } base.Dispose(disposing); }
/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } if (disposing) { if (Gmo != null) { Gmo.Dispose(); } if (Gdata != null) { Gdata.Dispose(); } if (GraphOptions != null) { GraphOptions.Dispose(); } if (_grid != null) { _grid.Dispose(); } } base.Dispose(disposing); }