DockPanel控件问题
DevExpress.XtraBars.Docking.DockPanel 动态创建,拖拽之后报错下面是代码:
DevExpress.XtraBars.Docking.DockPanel myPanle = new DevExpress.XtraBars.Docking.DockPanel();
dockManager1.AddPanel(DevExpress.XtraBars.Docking.DockingStyle.Fill, myPanle);
myPanle.DockedAsTabbedDocument = true;
myPanle.DockAsTab(myPanle);
myPanle.Text = "明细账列表";
DevExpress.XtraGrid.GridControl myGrid = new DevExpress.XtraGrid.GridControl();
myGrid.Parent = myPanle;
myGrid.Dock = System.Windows.Forms.DockStyle.Fill;
求大神帮忙解决
页:
[1]