|70060||Nov 25,2007 04:39 PM UTC||Nov 29,2007 12:30 AM UTC||WinForms||1|
DockHost dh = this.panel1.Parent as DockHost;
DockHostController dhc = dh.InternalController as DockHostController;
DockInfo di = dhc.DINew;
di.DP = DockPreference.Vertical;//.Vertical;
di.nDockIndex = 2;
di.nPriority = 0;
dhc.DINew = new DockInfo(di);
DockHost dh1 = this.panel3.Parent as DockHost;
DockHostController dhc1= dh1.InternalController as DockHostController;
DockInfo di1 = dhc1.DINew;
di1.DP = DockPreference.Tabbed;//.Vertical;
di1.nDockIndex = 0;
di1.nPriority = 0;
dhc1.DINew = new DockInfo(di1);
private void dockingManager1_DragAllow(object sender, DragAllowEventArgs arg)
if (arg.Control is Panel)
arg.Cancel = true;
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.