示例#1
0
 void publicClient_AddContentCompleted(object sender, AddContentCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         if (e.Result)
         {
             string aa = "";
         }
     }
     else
     {
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), e.Error.Message,
                                        Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation);
         return;
     }
 }
示例#2
0
        void publicClient_AddContentCompleted(object sender, AddContentCompletedEventArgs e)
        {
            if (e.Error == null)
            {
                if (e.Result)
                {
                    string aa = "";
                }
            }
            else
            {
                ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), e.Error.Message,
                   Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation);
                return;
            }

        }