Example #1
0
 private void btn_homing_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     try
     {
         Common.Reports.LogFile.Log("Enter homing page , user: "******"Error", MessageBoxButton.OK, MessageBoxImage.Error);
     }
 }
Example #2
0
 void x_LoadPage()
 {
     try
     {
         if (StaticRes.Global.Current_User.USER_GROUP == StaticRes.Global.User_Group.Admin ||
             StaticRes.Global.Current_User.USER_GROUP == StaticRes.Global.User_Group.MH)
         {
             Common.Reports.LogFile.Log("Enter homing page , user: "******"Entry load page , user: "******"Please homing first!!\n 请先初始化!!");
             }
         }
         else if (StaticRes.Global.Current_User.USER_GROUP.Length > 0)
         {
             System.Windows.MessageBox.Show("You haven't access to entey it !!\n你没有访问权限!!");
             CloseMask();
         }
     }
     catch (Exception ee)
     {
         System.Windows.MessageBox.Show(ee.Message, "Error", MessageBoxButton.OK, MessageBoxImage.Error);
         this.Close();
     }
 }