Пример #1
0
        private void 人员维护_Click(object sender, EventArgs e)
        {
            StaffMaintain sm = new StaffMaintain();

            if (flag == false)
            {
                sm.toolStripButton5.Enabled = false;
                sm.label1.Enabled           = false;
                sm.button6.Enabled          = false;
            }
            sm.Show();
        }
Пример #2
0
 public Camera(StaffMaintain sm)
 {
     InitializeComponent();
     this.sm = sm;
 }
Пример #3
0
 private void treeView1_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
 {
     if (treeView1.Nodes[0].Nodes[0].IsSelected == true)
     {
         ImportData id = new ImportData();
         id.Show();
     }
     if (treeView1.Nodes[0].Nodes[1].IsSelected == true)
     {
         ExportData ed = new ExportData();
         ed.Show();
     }
     if (treeView1.Nodes[0].Nodes[2].IsSelected == true)
     {
         MessageBox.Show("王伏,这里没有做", "注意");
     }
     if (treeView1.Nodes[1].Nodes[0].IsSelected == true)
     {
         MessageBox.Show("没有连接设备", "注意");
     }
     if (treeView1.Nodes[1].Nodes[1].IsSelected == true)
     {
         MessageBox.Show("没有连接设备", "注意");
     }
     if (treeView1.Nodes[1].Nodes[2].IsSelected == true)
     {
         MessageBox.Show("没有连接设备", "注意");
     }
     if (treeView1.Nodes[1].Nodes[3].IsSelected == true)
     {
         MessageBox.Show("没有连接设备", "注意");
     }
     if (treeView1.Nodes[2].Nodes[0].IsSelected == true)
     {
         AdminSet ads = new AdminSet();
         ads.Show();
     }
     if (treeView1.Nodes[2].Nodes[1].IsSelected == true)
     {
         StaffMaintain sm = new StaffMaintain();
         sm.Show();
     }
     if (treeView1.Nodes[2].Nodes[2].IsSelected == true)
     {
         MessageBox.Show("王伏,这里没有做", "注意");
     }
     if (treeView1.Nodes[2].Nodes[3].IsSelected == true)
     {
         DivisionalManagement form17 = new DivisionalManagement();
         form17.Show();
     }
     if (treeView1.Nodes[3].Nodes[0].IsSelected == true)
     {
         TimeSet ts = new TimeSet();
         ts.Show();
     }
     if (treeView1.Nodes[3].Nodes[1].IsSelected == true)
     {
         StaffSchedu ss = new StaffSchedu();
         ss.Show();
     }
     if (treeView1.Nodes[3].Nodes[2].IsSelected == true)
     {
         CheakRuleSet crs = new CheakRuleSet();
         crs.Show();
     }
 }
Пример #4
0
        private void 人员维护CtrlEToolStripMenuItem_Click(object sender, EventArgs e)
        {
            StaffMaintain form18 = new StaffMaintain();

            form18.Show();
        }