public override void StartTransfer(ResponsiveEnum transferType)
 {
     if (parentWindow != null)
     {
         waitDialog = new WaitDialog(parentWindow);
     }
     else
     {
         waitDialog = new WaitDialog();
     }
     waitDialog.CancelEvent += OnCancel;
     transferSuccess = true;
     base.StartTransfer(transferType);
 }
 public override void StartAsyncCall(SimpleDelegate method)
 {
     if (parentWindow != null)
     {
         waitDialog = new WaitDialog(parentWindow);
     }
     else
     {
         waitDialog = new WaitDialog();
     }
     waitDialog.CancelEvent += OnCancel;
     transferSuccess = true;
     base.StartAsyncCall(method);
 }