private void button1_Click_1(object sender, EventArgs e)
        {
            cashierTicketControl3 third = new cashierTicketControl3();

            frmSeatVIew  seat   = new frmSeatVIew();
            DialogResult result = seat.ShowDialog();

            if (result == DialogResult.OK)
            {
                MainControl.showControl(third, frmCashierDashboard.ActiveForm);
            }
        }
        private void dgvCashierSchedule_DoubleClick(object sender, EventArgs e)
        {
            MainControl.scheduleId = this.dgvCashierSchedule.CurrentRow.Cells["schedule_id"].Value.ToString();

            cashierTicketControl3 third = new cashierTicketControl3();

            frmSeatVIew  seat   = new frmSeatVIew();
            DialogResult result = seat.ShowDialog();

            if (result == DialogResult.OK)
            {
                MainControl.showControl(third, frmCashierDashboard.ActiveForm);
            }
        }