Exemple #1
0
 private void dataGridView4_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     SetButtonsActive3();
     try
     {
         bookingS           = ElementsSettings.SetDataFromApartmentsDGVToTextBoxes(dataGridView4, e);
         numberOfChosenRow  = Convert.ToInt32(bookingS[0]);
         numberTextBox.Text = bookingS[0];
         typeComboBox.Text  = bookingS[1];
         priceTextBox.Text  = bookingS[2];
     } catch { }
 }