예제 #1
0
 public void SendExchangeContract(ExchangeContract data)
 {
     try
     {
         ImplementationService.Callback?.SendExchangeContract(data);
     }
     catch (Exception ex)
     {
         MessageBox.Show("Посылка не удалась "
                         + Environment.NewLine
                         + ex.ToString());
     }
 }
 public void SendExchangeContract(ExchangeContract data) => ImplementationService.IncomingExchangeContract?.Invoke(data);
예제 #3
0
 public void SendExchangeContract(ExchangeContract data) => ImplementationCallback.IncomingExchangeContract?.Invoke(data);
예제 #4
0
 public void SendExchangeContract(ExchangeContract data)
 {
     Service?.SendExchangeContract(data);
 }