자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
private void GetAllReservations() { reservationList.DataSource = MapFromReservationDtoList(_accountManagementService.GetAllReservations(AccountHelper.GetInstance().Id)); _selectedRow = 0; reservationList.RowStateChanged += ((o, e) => { if (e.StateChanged == DataGridViewElementStates.Selected) { _reservationId = int.Parse(reservationList[0, e.Row.Index].Value.ToString()); _selectedRow = e.Row.Index; } }); }