void client_GetPostLevelDistinctionByIDCompleted(object sender, GetPostLevelDistinctionByIDCompletedEventArgs e) { if (e.Error != null) { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } else { distinction = e.Result; this.DataContext = distinction; BindCombox(); cbPostLevel.IsEnabled = false; } }
void client_GetPostLevelDistinctionByIDCompleted(object sender, GetPostLevelDistinctionByIDCompletedEventArgs e) { if (e.Error != null) { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } else { distinction = e.Result; this.DataContext = distinction; BindCombox(); cbPostLevel.IsEnabled = false; } }