public frmCashierDashboard()
        {
            InitializeComponent();
            this.pnlRed.Height = this.btnHome.Height;
            cashierTicketControl1 firstControl = new cashierTicketControl1();

            MainControl.showControl(firstControl, this);
        }
        private void btnHome_Click(object sender, EventArgs e)
        {
            this.pnlRed.Height = this.btnHome.Height;
            this.pnlRed.Top    = this.btnHome.Top;


            cashierTicketControl1 firstControl = new cashierTicketControl1();

            MainControl.showControl(firstControl, this);
        }
        private void button1_Click(object sender, EventArgs e)
        {
            cashierTicketControl1 firstControl = new cashierTicketControl1();

            MainControl.showControl(firstControl, frmCashierDashboard.ActiveForm);
        }