예제 #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));
            }
        }
예제 #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));
 }