예제 #1
0
 public void Dispose()
 {
     if (_controlType == AccountType.Customer)
     {
         ProgressBar1.Dispose();
         ProgressBar2.Dispose();
         ProgressBar5.Dispose();
         ProgressBar10.Dispose();
         CoinsViewModel model = DataContext as CoinsViewModel;
         //if (model != null)
         //{
         model.DisposeRequest -= Dispose;
         //}
     }
 }