Exemplo n.º 1
0
 private void tVCsatornaListaFrissítéseToolStripMenuItem_Click(object sender, EventArgs e)
 {
     channelSelector.Items.Clear();
     channelSelector.Items.AddRange(ProgramManager.GetTvChannels().ToArray());
     for (int i = 0; i < channelSelector.Items.Count; i++)
     {
         channelSelector.SetItemCheckState(i, CheckState.Checked);
     }
 }
Exemplo n.º 2
0
 public TvProgramManageForm()
 {
     InitializeComponent();
     ProgramManager = new TvProgramManager();
     channelSelector.Items.AddRange(ProgramManager.GetTvChannels().ToArray());
     ResetFilters();
     ProgramsReveiced += OnTvProgramsReveived;
     programs          = new List <TvProgram>();
 }