コード例 #1
0
        private void CurrentBookings() // displays the the bookings not yet checked in into the first DGV
        {
            dgvPending.DataSource         = DatabaseCalls.CurrentNotCheckedIn();
            dgvPending.Columns[2].Visible = false; // makes it so i can use booking ID to help with checkin but not be visable

            dgvCheckouts.DataSource         = DatabaseCalls.CurrentCheckedIn();
            dgvCheckouts.Columns[0].Visible = false; // makes the Guest ID not visable but helps with the checking out process

            dateTimePickerCheckIn.MinDate  = DateTime.Today;
            dateTimePickerCheckOut.MinDate = DateTime.Today.AddDays(+1);
        }
コード例 #2
0
 private void ShowCheckOuts()// displays the guests that are currently checked in in a Datadridview
 {
     dgvBilling.DataSource = DatabaseCalls.CurrentCheckedIn();
 }