Exemplo n.º 1
0
 void client_EmployeeCheckDeleteCompleted(object sender, EmployeeCheckDeleteCompletedEventArgs e)
 {
     if (e.Error != null && e.Error.Message != "")
     {
         //Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message));
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"),
                                        Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
     else
     {
         //Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", "EMPLOYEECHECK"));
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESS"),
                                        Utility.GetResourceStr("CONFIRM"), MessageIcon.Information);
         LoadData();
     }
 }
Exemplo n.º 2
0
 void client_EmployeeCheckDeleteCompleted(object sender, EmployeeCheckDeleteCompletedEventArgs e)
 {
     if (e.Error != null && e.Error.Message != "")
     {
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"),
                                        Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
     else
     {
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESS"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Information);
         EntityBrowser entBrowser = this.FindParentByType <EntityBrowser>();
         entBrowser.Close();
     }
     FormType = FormTypes.Browse;
     RefreshUI(RefreshedTypes.All);
 }
Exemplo n.º 3
0
 void client_EmployeeCheckDeleteCompleted(object sender, EmployeeCheckDeleteCompletedEventArgs e)
 {
     if (e.Error != null && e.Error.Message != "")
     {
         //Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message));
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"),
        Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
     else
     {
         //Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", "EMPLOYEECHECK"));
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESS"),
     Utility.GetResourceStr("CONFIRM"), MessageIcon.Information);
         LoadData();
     }
 }
Exemplo n.º 4
0
 void client_EmployeeCheckDeleteCompleted(object sender, EmployeeCheckDeleteCompletedEventArgs e)
 {
     if (e.Error != null && e.Error.Message != "")
     {
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"),
       Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
     else
     {
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESS"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Information);
         EntityBrowser entBrowser = this.FindParentByType<EntityBrowser>();
         entBrowser.Close();
     }
     FormType = FormTypes.Browse;
     RefreshUI(RefreshedTypes.All);
 }