public ListingSelectionForm(ListingSelectionListener selection_listener, Channel channel_changing_listing) { InitializeComponent(); channel_changing_listing_ = channel_changing_listing; selection_listener_ = (selection_listener != null) ? selection_listener : this; if (selection_listener_.HasCustomServices()) custom_services = selection_listener_.GetCustomServices().ToList(); CustomListingsRadioButton.Visible = (custom_services.Count > 0); SortServices(); UpdateListBox(); }
public ListingSelectionForm(ListingSelectionListener selection_listener, Channel channel_changing_listing) { InitializeComponent(); channel_changing_listing_ = channel_changing_listing; selection_listener_ = (selection_listener != null) ? selection_listener : this; if (selection_listener_.HasCustomServices()) { custom_services = selection_listener_.GetCustomServices().ToList(); } CustomListingsRadioButton.Visible = (custom_services.Count > 0); SortServices(); UpdateListBox(); }
public ListingSelectionForm(ListingSelectionListener selection_listener) : this(selection_listener, null) { }