Exemplo n.º 1
0
 void client_RelationPostDeleteCompleted(object sender, RelationPostDeleteCompletedEventArgs e)
 {
     if (e.Error != null)
     {
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message),
                                        Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
     else
     {
         Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", "RELATIONPOST"));
     }
     LoadData();
 }
Exemplo n.º 2
0
 void client_RelationPostDeleteCompleted(object sender, RelationPostDeleteCompletedEventArgs e)
 {
     if (e.Error != null)
     {
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message),
                 Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
     else
     {
         Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", "RELATIONPOST"));
     }
     LoadData();
 }