/// <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)) { controlsLink.Dispose(); components.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) { if (deadzoneLink != null) { deadzoneLink.Dispose(); } if (antiDeadzoneLink != null) { antiDeadzoneLink.Dispose(); } if (updateTimer != null) { updateTimer.Dispose(); } if (components != null) { components.Dispose(); } if (dInputLine != null) { dInputLine.Dispose(); } if (dInputPoint != null) { dInputPoint.Dispose(); } if (nInputLine != null) { nInputLine.Dispose(); } if (xInputPoint != null) { xInputPoint.Dispose(); } if (xInputLine != null) { xInputLine.Dispose(); } if (xInputPath != null) { xInputPath.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) { deadzoneLink.Dispose(); antiDeadzoneLink.Dispose(); if (updateTimer != null) { updateTimer.Dispose(); } if (components != null) { components.Dispose(); } } base.Dispose(disposing); }