Exemple #1
0
        private void tSB_设备管理_Click(object sender, EventArgs e)
        {
            F_DeviceManage f_DeviceManage = F_DeviceManage.GetInstance();

            f_DeviceManage.Show(dockPanel1);
            f_DeviceManage.DockTo(dockPanel1, DockStyle.Left);//左边停靠
        }
Exemple #2
0
 private void tSBtn_设备管理_Click(object sender, EventArgs e)
 {
     //若设备管理窗口没有实例化或已经被释放(关闭了)
     if (f_DeviceManage == null || f_DeviceManage.IsDisposed == true)
     {
         f_DeviceManage = F_DeviceManage.GetInstance();
         f_DeviceManage.Show(dockPanel1);
         f_DeviceManage.DockTo(dockPanel1, DockStyle.Left);//左边停靠
     }
 }
Exemple #3
0
 private void F_Main_Load(object sender, EventArgs e)
 {
     f_DeviceManage = F_DeviceManage.GetInstance();
     f_DeviceManage.Show(dockPanel1);
     f_DeviceManage.DockTo(dockPanel1, DockStyle.Left);//左边停靠
 }