/// <summary>Releases all the resources used by Shadows.Quasar.Container.FormMain</summary> /// <param name="disposing">true to release both managed and unmanaged resources; false to release only /// unmanaged resources. /// </param> protected override void Dispose(bool disposing) { // Kill the thread if it's still waiting for data. CommandQueue.Abort(); // Clean up the resources used by installed components. if (disposing && components != null) { components.Dispose(); } // Call the base class to finish up the cleanup. base.Dispose(disposing); }