private void DataGridView2_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.ColumnIndex == 0)
            {
                _selectedStream = _VODList[e.RowIndex];

                ItemHasBeenSelected?.Invoke(this, new SelectedItemEventArgs
                {
                    SelectedChoice = _selectedStream
                });
            }
        }
Example #2
0
 public DownloadStreamForm(VODObject vodObject)
 {
     InitializeComponent();
     _VODObject = vodObject;
 }
Example #3
0
 /// <summary>
 /// Sets up DownloadControl
 /// </summary>
 /// <param name="selectedVOD">SelectedVOD object to download</param>
 public void GenerateDownloadVODControl(VODObject selectedVOD)
 {
     downloadControl1.SetUpDownload(selectedVOD);
 }
 /// <summary>
 /// Loads the video quality values and sets the download object
 /// </summary>
 /// <param name="selectedVOD"></param>
 public void SetUpDownload(VODObject selectedVOD)
 {
     _selectedVOD = selectedVOD;
     ClearForm();
     populateComboBoxWithVideoFormats();
 }