Esempio n. 1
0
 void client_CustomGuerdonAddCompleted(object sender, CustomGuerdonAddCompletedEventArgs e)
 {
     if (e.Error != null)
     {
         Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message.ToString());
     }
     if (e.Result == "NOSALARYSTANDARDID")
     {
         Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("NOSALARYSTANDARDID"));
     }
     RefreshUI(RefreshedTypes.All);
 }
Esempio n. 2
0
 void client_CustomGuerdonAddCompleted(object sender, CustomGuerdonAddCompletedEventArgs e)
 {
     if (e.Error != null)
     {
         Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message.ToString());
     }
     if (e.Result == "NOSALARYSTANDARDID")
     {
         Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("NOSALARYSTANDARDID"));
     }
     else
     {
         Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("ADDDATASUCCESSED"));
         //Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("CUSTOMSALARY", "ADD"));
     }
     RefreshUI(RefreshedTypes.ProgressBar);
     RefreshUI(RefreshedTypes.Close);
 }
Esempio n. 3
0
 void client_CustomGuerdonAddCompleted(object sender, CustomGuerdonAddCompletedEventArgs e)
 {
     if (e.Error != null)
     {
         Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message.ToString());
     }
     if (e.Result == "NOSALARYSTANDARDID")
     {
         Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("NOSALARYSTANDARDID"));
     }
     else
     {
         Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("ADDDATASUCCESSED"));
         //Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("CUSTOMSALARY", "ADD"));
     }
     RefreshUI(RefreshedTypes.ProgressBar);
     RefreshUI(RefreshedTypes.Close);
 }
Esempio n. 4
0
 void client_CustomGuerdonAddCompleted(object sender, CustomGuerdonAddCompletedEventArgs e)
 {
     if (e.Error != null)
     {
         Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message.ToString());
     }
     if (e.Result == "NOSALARYSTANDARDID")
     {
         Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("NOSALARYSTANDARDID"));
     }
     RefreshUI(RefreshedTypes.All);
 }