Beispiel #1
0
 public void Cancel()
 {
     if (_obj != null)
     {
         _obj.Cancel();
     }
     else
     {
         ExcelAdoMdConnections.VoidDelegate f = delegate
         {
             _objExcel.Cancel();
         };
         f();
     }
 }
Beispiel #2
0
        public void Cancel()
        {
            if (_command != null)
            {
                _command.Cancel();
            }
            else
            {
                void f()
                {
                    _objExcel.Cancel();
                }

                f();
            }
        }