Example #1
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();
     }
 }
Example #2
0
        private void 管理员设置AToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AdminSet form19 = new AdminSet();

            form19.Show();
        }