BatchGuy.App.CreateEAC3ToBatchForm.dgvBluRayDiscInfo_CellClick C# (CSharp) Méthode

dgvBluRayDiscInfo_CellClick() private méthode

private dgvBluRayDiscInfo_CellClick ( object sender, System.Windows.Forms.DataGridViewCellEventArgs e ) : void
sender object
e System.Windows.Forms.DataGridViewCellEventArgs
Résultat void
        private void dgvBluRayDiscInfo_CellClick(object sender, DataGridViewCellEventArgs e)
        {
            try
            {
                if (e.RowIndex == -1)
                {
                    this.SortBluRayDiscGrid(e.ColumnIndex);
                }
                else
                {
                    this.HandleDgvBluRayDiscInfoCellClick(e);
                    if (_currentBluRayDiscInfo.BluRaySummaryInfoList == null)
                    {
                        gbScreen.SetEnabled(false);
                        this.HandleLoadBluRay();
                    }
                    else
                    {
                        _bindingListBluRaySummaryInfo = new BindingList<BluRaySummaryInfo>();
                        foreach (BluRaySummaryInfo info in _currentBluRayDiscInfo.BluRaySummaryInfoList)
                        {
                            _bindingListBluRaySummaryInfo.Add(info);
                        }
                        this.UpdateUIForBluRaySummary();
                    }
                }
            }
            catch (Exception ex)
            {
                _displayErrorMessageService.DisplayError(new ErrorMessage() { DisplayMessage = "There was a problem trying to load the disc summary!", DisplayTitle = "Error.", Exception = ex, MethodNameWhereExceptionOccurred = MethodBase.GetCurrentMethod().Name });
            }
        }
CreateEAC3ToBatchForm