Example #1
0
 private void TablesSettingForm_Load(object sender, EventArgs e)
 {
     cmbStatus.Items.Add("True");
     cmbStatus.Items.Add("False");
     txtId.Visible           = false;
     dgvTableList.DataSource = tb.GetAll();
     Temizle();
 }
Example #2
0
 private void ReservationForm_Load(object sender, EventArgs e)
 {
     dgvRezerve.ClearSelection();
     dgvRezerve.DataSource = rb.Reservations();
     cmbCustomerSearch.BindCombobox <Customer>("NameSurname", "CustomerID", cb.GetAll());
     cmbTableNumber.BindCombobox <Table>("TableID", "TableID", tb.GetAll());
     dgvRezerve.Rows[selectedIndex].Selected = false;
     Temizle();
 }