AdvancedLauncher.SDK.Management.Windows.ApplicationWindowControl.Dispose C# (CSharp) Method

Dispose() protected method

When overridden in a derived class, releases the unmanaged resources used by the ApplicationWindowControl, and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void
        protected virtual void Dispose(bool disposing)
        {
            if (!disposedValue) {
                if (disposing) {
                    if (Process != null) {
                        Process.Kill();
                        Process.Dispose();
                        Panel.Dispose();
                    }
                }
                disposedValue = true;
            }
        }

Same methods

ApplicationWindowControl::Dispose ( ) : void