private void _Loaded(object sender, RoutedEventArgs e) { Refresh(); LoadData(); this.model = CacheHelper.GetInterfacesUsersModel(); BACAClient.Pages.Main.Announcement announcement = new BACAClient.Pages.Main.Announcement(); //this.Right.Content = announcement; this.Knowledge(); }
private void _Loaded(object sender, RoutedEventArgs e) { try { this.users = CacheHelper.GetInterfacesUsersModel(); this.OpenFullTextImage(); } catch { } }
public static void SetDellInfo(InterfacesUsers model) { try { if (model != null) { CacheParameterName name = new CacheParameterName(); SetCache(name.LoginUserID, model.UserId); SetCache(name.UserName, model.UserName); SetCache(name.UserDepName, model.DepName); } } catch { } }
public Kdp() { try { this.InitializeComponent(); this.users = CacheHelper.GetInterfacesUsersModel(); string cache = CacheHelper.GetCache(this.cache.HistoryIndex); if (!string.IsNullOrEmpty(cache)) { this.index = int.Parse(cache); } string str2 = CacheHelper.GetCache(this.cache.Id); if (!string.IsNullOrEmpty(str2)) { this.Id = int.Parse(str2); this.GetData(); } base.Loaded += new RoutedEventHandler(this._Loaded); } catch { } }