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)
|
{
|
|
}
|
}
|
}
|