Beispiel #1
0
        private void btnBill_Click(object sender, EventArgs e)
        {
            pnlHighlight.Height = btnBill.Height;
            pnlHighlight.Top    = btnBill.Top;
            this.pnForm.Controls.Clear();

            frm_CreateBill form = new frm_CreateBill();

            form.FormBorderStyle = FormBorderStyle.None;
            form.TopLevel        = false;
            form.AutoScroll      = true;
            this.pnForm.Controls.Add(form);
            form.Show();
        }
Beispiel #2
0
        public frmDashboard()
        {
            InitializeComponent();



            frm_CreateBill form = new frm_CreateBill();

            form.FormBorderStyle = FormBorderStyle.None;
            form.TopLevel        = false;
            form.AutoScroll      = true;
            this.pnForm.Controls.Add(form);
            form.Show();
        }