void Pmclient_GetSystemTypeListByUserIDCompleted(object sender, GetSystemTypeListByUserIDCompletedEventArgs e) { hideLoading(); try { AllsystemTypes = e.Result.ToList(); ViewModel.Context.CacheSystemType = AllsystemTypes; if (!Application.Current.Resources.Contains("AllsystemTypes")) { Application.Current.Resources.Add("AllsystemTypes", AllsystemTypes); } //IosManager.SetValue("AllsystemTypes", AllsystemTypes); GetMenusAndShow(); }catch (Exception ex) { MessageBox.Show(ex.ToString()); } }
void Pmclient_GetSystemTypeListByUserIDCompleted(object sender, GetSystemTypeListByUserIDCompletedEventArgs e) { hideLoading(); try { AllsystemTypes = e.Result.ToList(); ViewModel.Context.CacheSystemType = AllsystemTypes; if (!Application.Current.Resources.Contains("AllsystemTypes")) { Application.Current.Resources.Add("AllsystemTypes", AllsystemTypes); } //IosManager.SetValue("AllsystemTypes", AllsystemTypes); GetMenusAndShow(); }catch(Exception ex) { MessageBox.Show(ex.ToString()); } }