public MainWindow() { InitializeComponent(); Title = string.Format("WWShowAudioStatus {0}", AssemblyVersion); mSAS = new WWShowAudioStatusCs(); mDefaultIdx = -1; RefreshAll(false); mInitialized = true; }
protected virtual void Dispose(bool disposing) { if (!disposedValue) { if (disposing) { if (mSAS != null) { mSAS.Dispose(); mSAS = null; } if (mWFHost != null) { mWFHost.Dispose(); mWFHost = null; } } disposedValue = true; } }