Exemplo n.º 1
0
        private void client_AddNewsCompleted(object sender, AddNewsCompletedEventArgs e)
        {
            bool result = false;

            if (e.Error.IsNull())
            {
                result = e.Result;
            }
            if (OnExectNoQueryCompleted != null)
            {
                OnExectNoQueryCompleted(this, new ExectNoQueryEventArgs(result, e.Error));
            }
        }
Exemplo n.º 2
0
 private void client_AddNewsCompleted(object sender, AddNewsCompletedEventArgs e)
 {
     bool result = false;
     if (e.Error.IsNull())
     {
         result = e.Result;
     }
     if (OnExectNoQueryCompleted != null)
         OnExectNoQueryCompleted(this, new ExectNoQueryEventArgs(result, e.Error));
 }