Exemplo n.º 1
0
 private void RequestsGrid_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     if (requestsGrid.SelectedRows.Count > 0)
     {
         DataGridViewRow row = requestsGrid.SelectedRows[0];
         proxy.SendBooks(
             (string)row.Cells["bookColumn"].Value,
             (int)row.Cells["quantityColumn"].Value,
             (Guid)row.Cells["orderIdColumn"].Value
             );
     }
 }