protected override object[] doService(object[] param)
 {
     try
     {
         if (param.Length < 0)
         {
             return(null);
         }
         bool bDirectCopy = (bool)param[0];
         CsSetForm.BeginRunCopy(bDirectCopy, false);
         return(new object[] { 1 });
     }
     catch (BaseException exception)
     {
         this._Loger.Error(exception.Message);
         ExceptionHandler.HandleError(exception);
         return(null);
     }
     catch (Exception exception2)
     {
         this._Loger.Error(exception2.Message);
         ExceptionHandler.HandleError(exception2);
         return(null);
     }
 }
Beispiel #2
0
 private void runLoad()
 {
     try
     {
         CsSetForm.BeginRunCopy(false, false);
     }
     catch (BaseException exception)
     {
         _Loger.Error(exception.Message);
         ExceptionHandler.HandleError(exception);
     }
     catch (Exception exception2)
     {
         _Loger.Error(exception2.Message);
         ExceptionHandler.HandleError(exception2);
     }
 }
 protected override void RunCommand()
 {
     try
     {
         CsSetForm.BeginRunCopy(true, true);
     }
     catch (BaseException exception)
     {
         this._Loger.Error(exception.Message);
         ExceptionHandler.HandleError(exception);
     }
     catch (Exception exception2)
     {
         this._Loger.Error(exception2.Message);
         ExceptionHandler.HandleError(exception2);
     }
 }