コード例 #1
0
 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();
 }
コード例 #2
0
ファイル: PDF.xaml.cs プロジェクト: radtek/BACAClient
 private void _Loaded(object sender, RoutedEventArgs e)
 {
     try
     {
         this.users = CacheHelper.GetInterfacesUsersModel();
         this.OpenFullTextImage();
     }
     catch
     {
     }
 }
コード例 #3
0
 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
     {
     }
 }
コード例 #4
0
ファイル: kdp.xaml.cs プロジェクト: radtek/BACAClient
 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
     {
     }
 }