public void CloseProgressBar()
 {
     waitView?.Close();
     waitView = null;
 }
 public void ShowProgressBar()
 {
     waitView = new FrmWaitView();
     waitView.Show(this);
 }