private void InitWindow() { // Dock 스타일 지정 DockManager.FastMoveDraw = false; DockManager.Style = DockVisualStyle.VS2005; // 왼쪽윈도우 생성 frmLeftDock.AllowClose = false; dockManager.DockWindow(frmLeftDock, DockStyle.Left); // 가운데 윈도우 생성 frmCenterMain.AllowUnDock = frmCenterReport.AllowUnDock = false; frmCenterMain.AllowClose = frmCenterReport.AllowClose = false; dockManager.DockWindow(frmCenterMain, DockStyle.Fill); DockContainer cont = frmCenterMain.HostContainer; cont.DockWindow(frmCenterReport, DockStyle.Fill); ////frmCenterMain.Focus(); ListView.CheckForIllegalCrossThreadCalls = false; }