Esempio n. 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);//左边停靠
        }
Esempio n. 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);//左边停靠
     }
 }
Esempio n. 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);//左边停靠
 }