Esempio n. 1
0
        public void Clear_page()
        {
            _frmMain.Set_HeadLine(_frmMain.btnInput.Text);
            _frmMain.panBody.Controls.Clear();
            pageInput_SelectOrder _pageInput = new pageInput_SelectOrder(_frmMain);

            _frmMain.panBody.Controls.Add(_pageInput);
            _pageInput.Dock = DockStyle.Fill;
            _pageInput.BringToFront();
        }
Esempio n. 2
0
        private void Load_PageSelectOrder()
        {
            //default page//set HeadLine
            this.Set_HeadLine(btnInput.Text);

            //Clear Panel Body
            this.panBody.Controls.Clear();

            //Load page Select order.
            pageInput_SelectOrder _pageOrder = new pageInput_SelectOrder(this);

            this.panBody.Controls.Add(_pageOrder);
            _pageOrder.Dock = DockStyle.Fill;
            _pageOrder.BringToFront();
        }