예제 #1
0
        private void btnSelectCheckIn_Click(object sender, EventArgs e)
        {
            FormSearchCheckIn frm = new FormSearchCheckIn();

            frm.ShowDialog();
            if (frm.checkIn.ID != 0)
            {
                _checkIn = frm.checkIn;
                SelectCheckIn();
            }
        }
예제 #2
0
        private void CreateCheckIn()
        {
            ClearLabel();
            dgvSales.Rows.Clear();
            FormSearchCheckIn frm = new FormSearchCheckIn();

            frm.ShowDialog();
            _checkIn = frm.checkIn;
            if (_checkIn.ID == 0)
            {
                MessageBox.Show("Nenhum checkin selecionado!");
                return;
            }
            SelectCheckIn();
            UpdateSalesCheckIn();
        }