void client_AreaCityByCategoryDeleteCompleted(object sender, AreaCityByCategoryDeleteCompletedEventArgs e) { if (e.Error != null) { RefreshUI(RefreshedTypes.HideProgressBar); Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } else { if (string.IsNullOrEmpty(citycode)) { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", "CITY")); return; } client.AreaCityLotsofAddAsync(citys, "Update"); } }
void client_AreaCityByCategoryDeleteCompleted(object sender, AreaCityByCategoryDeleteCompletedEventArgs e) { if (e.Error != null) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error); } else { if (string.IsNullOrEmpty(citycode)) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", "CITY"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Information); //Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", "CITY")); return; } client.AreaCityLotsofAddAsync(citys, "Update"); } }
void client_AreaCityByCategoryDeleteCompleted(object sender, AreaCityByCategoryDeleteCompletedEventArgs e) { if (e.Error != null) { RefreshUI(RefreshedTypes.HideProgressBar); Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } else { if (string.IsNullOrEmpty(citycode)) { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", "CITY")); return; } client.AreaCityLotsofAddAsync(citys, "Update"); } }
void client_AreaCityByCategoryDeleteCompleted(object sender, AreaCityByCategoryDeleteCompletedEventArgs e) { if (e.Error != null) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERROR"),Utility.GetResourceStr("CONFIRM"), MessageIcon.Error); } else { if (string.IsNullOrEmpty(citycode)) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", "CITY"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Information); //Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", "CITY")); return; } client.AreaCityLotsofAddAsync(citys, "Update"); } }