Exemplo n.º 1
0
 /// <summary>
 /// 查看报警记录
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnAlarmRecord_Click(object sender, EventArgs e)
 {
     if (!rightManager.CanDoThis(UserRightConstraint.RecordCheckAndExportLeastLevel))
     {
         new UserPrivilegeException();
     }
     else
     {
         AlarmRecord win = new AlarmRecord();
         win.Show();
         log("查看了报警记录");
     }
 }
Exemplo n.º 2
0
        private void button8_Click(object sender, EventArgs e)
        {
            AlarmRecord win = new AlarmRecord();

            win.Show();
        }