예제 #1
0
        void Initialize()
        {
            // Start Page Form
            SPF   = (StartPageForm)FormCreator(FormStyle.StartPage, 0, 0, 725, 390, this.BackColor, "Start Page");
            DFI01 = DockContainer01Panel.Add(SPF, zAllowedDock.All, new Guid("a6402b80-2ebd-4fd3-8930-024a6201d001"));
            DFI01.ShowContextMenuButton = false; //DFI01.ShowCloseButton = false;
            DFI01.ShowFormAutoPanel();
            DockContainer01Panel.DockForm(DFI01, DockStyle.Fill, zDockMode.Inner);

            //Details Form
            DF    = (DetailsForm)FormCreator(FormStyle.Details, 0, 0, 300, 300, this.BackColor, "Details View");
            DFI03 = DockContainer01Panel.Add(DF, zAllowedDock.All, new Guid("096b52a7-5f4b-44ee-ab77-9830ec717002"));
            DFI03.ShowContextMenuButton = true;
            DockContainer01Panel.DockForm(DFI03, DockStyle.Right, zDockMode.Inner);

            //Histogram Form
            HF    = (HistogramForm)FormCreator(FormStyle.Histogram, 0, 0, 300, 300, Color.White, "Histogram View");
            DFI02 = DockContainer01Panel.Add(HF, zAllowedDock.All, new Guid("a6402b80-2ebd-4fd3-8930-024a6201d001"));
            DFI02.ShowContextMenuButton = true;
            DockContainer01Panel.DockForm(DFI02, DFI03, DockStyle.Bottom, zDockMode.Outer);

            //Paint Handle Form
            //PHF = (PaintHandlerForm)FormCreator(FormStyle.PaintHandleForm, 0, 0, 725, 390, Color.FromArgb(45, 45, 48), "Untiteled");
            //DFI04 = DockContainer01Panel.Add(PHF, zAllowedDock.All, new Guid("a6402b80-2ebd-4fd3-8930-024a6201d001"));
            //DFI04.ShowContextMenuButton = false;
            //DockContainer01Panel.DockForm(DFI04, DFI01, DockStyle.Fill, zDockMode.Inner);
        }
예제 #2
0
        void Initialize()
        {
            // Start Page Form
            SPF = (StartPageForm)FormCreator(FormStyle.StartPage, 0, 0, 725, 390, this.BackColor, "Start Page");
            DFI01 = DockContainer01Panel.Add(SPF, zAllowedDock.All, new Guid("a6402b80-2ebd-4fd3-8930-024a6201d001"));
            DFI01.ShowContextMenuButton = false; //DFI01.ShowCloseButton = false;
            DFI01.ShowFormAutoPanel();
            DockContainer01Panel.DockForm(DFI01, DockStyle.Fill, zDockMode.Inner);

            //Details Form
            DF = (DetailsForm)FormCreator(FormStyle.Details, 0, 0, 300,300, this.BackColor, "Details View");
            DFI03 = DockContainer01Panel.Add(DF, zAllowedDock.All, new Guid("096b52a7-5f4b-44ee-ab77-9830ec717002"));
            DFI03.ShowContextMenuButton = true;
            DockContainer01Panel.DockForm(DFI03, DockStyle.Right, zDockMode.Inner);

            //Histogram Form
            HF = (HistogramForm)FormCreator(FormStyle.Histogram, 0, 0, 300,300, Color.White, "Histogram View");
            DFI02 = DockContainer01Panel.Add(HF, zAllowedDock.All, new Guid("a6402b80-2ebd-4fd3-8930-024a6201d001"));
            DFI02.ShowContextMenuButton = true;
            DockContainer01Panel.DockForm(DFI02, DFI03, DockStyle.Bottom, zDockMode.Outer);

            //Paint Handle Form
            //PHF = (PaintHandlerForm)FormCreator(FormStyle.PaintHandleForm, 0, 0, 725, 390, Color.FromArgb(45, 45, 48), "Untiteled");
            //DFI04 = DockContainer01Panel.Add(PHF, zAllowedDock.All, new Guid("a6402b80-2ebd-4fd3-8930-024a6201d001"));
            //DFI04.ShowContextMenuButton = false;
            //DockContainer01Panel.DockForm(DFI04, DFI01, DockStyle.Fill, zDockMode.Inner);
        }