/// <summary> /// Button click event that fills the datagridview with criteria based in the comboboxes /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ApplyButton_Click(object sender, EventArgs e) { if (_selectedStreamer != null) { NextButton.Visible = true; FillPastStreamsDataGridView(APICalls.GetStreams(_selectedStreamer.id, VideoTypeComboBox.Text, CreatedPeriodComboBox.Text, SortByComboBox.Text, int.Parse(ItemsPerPageComboBox.Text))); } }
private VODMasterObject GetPastStreams(string beforeOrAfter, string pagination, string previousStreamType) { return(APICalls.GetStreams(_selectedStreamer.id, beforeOrAfter, pagination, "highlight")); }
private VODMasterObject GetPastStreams() { return(APICalls.GetStreams(_selectedStreamer.id, "highlight")); }
private VODMasterObject getPastStreams() { return(APICalls.GetStreams(StreamerInformation.id, "highlight")); }