private void Exit() { lblTips.DataContext = null; pgbVolumeActiveAPBar.DataContext = null; ProgressBarParameter = null; System.GC.Collect(); this.Close(); }
public VolumeActiveOrUnActiveProgressBarWindow() { InitializeComponent(); this.Owner = Application.Current.MainWindow; if (ProgressBarParameter == null) { ProgressBarParameter = new ProgressBarParameterClass(); } }