Beispiel #1
0
        public static void loadTileFormExtra(CanvasGrid canvasGrid)
        {
            GH_CanvasForm extraForm = new GH_CanvasForm(true);

            extraForm.Controls.Clear();
            extraForms.Add(extraForm);
            extraForm.FormBorderStyle = FormBorderStyle.FixedSingle;
            extraForm.MaximizeBox     = false;
            extraForm.Text            = "RTC Extra Form";
            loadTileForm(extraForm, canvasGrid);
            extraForm.Show();
        }
Beispiel #2
0
        public GH_CoreForm()
        {
            InitializeComponent();
            thisForm = this;

            cfForm          = new GH_CanvasForm();
            cfForm.TopLevel = false;
            cfForm.Dock     = DockStyle.Fill;
            this.Controls.Add(cfForm);
            cfForm.Location = new Point(0, pnTopBar.Size.Height);
            cfForm.Show();
            cfForm.BringToFront();

            xPadding     = (Width - cfForm.Width);
            coreYPadding = pnTopBar.Height;
            yPadding     = (Height - cfForm.Height) - coreYPadding;
        }