领胜LDS 键盘AOI检测项目
xcd
2020-07-06 beb0f2c826515c0a2abc9ee6eb296dd5d7199b3a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
using Bro.Common.Factory;
using Bro.Common.Helper;
using Bro.UI.Config.Helper;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI.Docking;
 
namespace Bro.UI.Config.MenuForms
{
    //[DockOption(WeifenLuo.WinFormsUI.Docking.DockState.Document, 0, 0)]
    //[MenuNode("Display", "显示", 1, "View1", true)]
    public partial class FrmDisplay : MenuFrmBase
    {
        FrmDisplay_DeviceList _frmDeviceList = new FrmDisplay_DeviceList();
 
        public FrmDisplay()
        {
            InitializeComponent();
 
            //_frmDeviceList.MdiParent = this;
            //_frmDeviceList.DockHandler.DockPanel = plMain;
            //_frmDeviceList.DockState = DockState.DockLeft;
            //plMain.DockLeftPortion= _frmDeviceList.AutoHidePortion = _frmDeviceList.Width;
        }
 
        public override void OnProcessUpdated()
        {
            this.IsMdiContainer = true;
 
            _frmDeviceList.MdiParent = this;
            _frmDeviceList.DockHandler.DockPanel = plMain;
            _frmDeviceList.DockState = DockState.DockLeft;
            plMain.DockLeftPortion = _frmDeviceList.AutoHidePortion = _frmDeviceList.Width;
        }
 
        private void FrmDisplay_Load(object sender, EventArgs e)
        {
 
        }
    }
}