Exemple #1
0
 private void FormInsertReservations_Load(object sender, EventArgs e)
 {
     cmbSearchRoom.SelectedIndex   = 1;
     cmbSourceClient.SelectedIndex = 1;
     dgvClient.DataSource          = clientBLL.GetAllClientsByActive();
     dgvRooms.DataSource           = roomBLL.GetAllRoomsAvailable();
 }
Exemple #2
0
 private void FormInsertCheckIn_Load(object sender, EventArgs e)
 {
     cmbSearchClient.SelectedIndex   = 1;
     dgvClients.DataSource           = clientBLL.GetAllClientsByActive().Data;
     cmbSearchRoom.SelectedIndex     = 1;
     dgvRooms.DataSource             = roomTypeBLL.GetAllRoomsType().Data;
     cmbSearchEmployee.SelectedIndex = 1;
     dgvEmployees.DataSource         = employeeBLL.GetAllEmployeesByActive().Data;
 }
Exemple #3
0
 private void btnDelete_Click(object sender, EventArgs e)
 {
     MessageBox.Show(clientBLL.Delete(client).Message);
     dgvClients.DataSource = clientBLL.GetAllClientsByActive().Data;
 }
Exemple #4
0
 private void FormUpdateClient_Load(object sender, EventArgs e)
 {
     cmbSearch.SelectedIndex = 1;
     dgvClients.DataSource   = clientBLL.GetAllClientsByActive().Data;
 }