コード例 #1
0
ファイル: CardAtsc.cs プロジェクト: usermonk/MediaPortal-1
 private void Init()
 {
     UpdateQamFrequencyFieldAvailability();
     mpComboBoxFrequencies.Items.Clear();
     try
     {
         fileFilters = new FileFilters("ATSC");
         mpComboBoxFrequencies.DataSource    = fileFilters.AllFiles;
         mpComboBoxFrequencies.ValueMember   = "FileName";
         mpComboBoxFrequencies.DisplayMember = "DisplayName";
     }
     catch (Exception)
     {
         MessageBox.Show(@"Unable to open TuningParameters\atsc\*.xml");
         return;
     }
 }
コード例 #2
0
ファイル: CardAtsc.cs プロジェクト: arangas/MediaPortal-1
 private void Init()
 {
   UpdateQamFrequencyFieldAvailability();
   mpComboBoxFrequencies.Items.Clear();
   try
   {
     fileFilters = new FileFilters("ATSC");
     mpComboBoxFrequencies.DataSource = fileFilters.AllFiles;
     mpComboBoxFrequencies.ValueMember = "FileName";
     mpComboBoxFrequencies.DisplayMember = "DisplayName";
   }
   catch (Exception)
   {
     MessageBox.Show(@"Unable to open TuningParameters\atsc\*.xml");
     return;
   }
 }
コード例 #3
0
ファイル: CardAtsc.cs プロジェクト: thomasr3/MediaPortal-1
 private void Init()
 {
     checkBoxQAM_CheckedChanged(null, null);
     mpComboBoxFrequencies.Items.Clear();
     try
     {
         fileFilters = new FileFilters("ATSC");
         mpComboBoxFrequencies.DataSource    = fileFilters.AllFiles;
         mpComboBoxFrequencies.ValueMember   = "FileName";
         mpComboBoxFrequencies.DisplayMember = "DisplayName";
     }
     catch (Exception)
     {
         MessageBox.Show(@"Unable to open TuningParameters\atsc\*.xml");
         return;
     }
 }
コード例 #4
0
 private void Init()
 {
     if (checkBoxQAM.Enabled != true || checkBoxQAM.Checked == false)
     {
         mpComboBoxFrequencies.Enabled = false;
     }
     mpComboBoxFrequencies.Items.Clear();
     try
     {
         fileFilters = new FileFilters("ATSC");
         mpComboBoxFrequencies.DataSource    = fileFilters.AllFiles;
         mpComboBoxFrequencies.ValueMember   = "FileName";
         mpComboBoxFrequencies.DisplayMember = "DisplayName";
     }
     catch (Exception)
     {
         MessageBox.Show(@"Unable to open TuningParameters\atsc\*.xml");
         return;
     }
 }
コード例 #5
0
 private void Init()
 {
   if (checkBoxQAM.Enabled != true || checkBoxQAM.Checked == false)
   {
     mpComboBoxFrequencies.Enabled = false;
   }
   mpComboBoxFrequencies.Items.Clear();
   try
   {
     fileFilters = new FileFilters("ATSC");
     mpComboBoxFrequencies.DataSource = fileFilters.AllFiles;
     mpComboBoxFrequencies.ValueMember = "FileName";
     mpComboBoxFrequencies.DisplayMember = "DisplayName";
   }
   catch (Exception)
   {
     MessageBox.Show(@"Unable to open TuningParameters\atsc\*.xml");
     return;
   }
 }
コード例 #6
0
        private void Init()
        {
            // set to same positions as progress
            mpGrpAdvancedTuning.Top = mpGrpScanProgress.Top;
            mpComboBoxCountry.Items.Clear();
            try
            {
                fileFilters = new FileFilters("DVBC", ref mpComboBoxCountry, ref mpComboBoxRegion);
            }
            catch (Exception)
            {
                MessageBox.Show(@"Unable to open TuningParameters\dvbc\*.xml");
                return;
            }
            SetButtonState();
            SetDefaults();

            buttonText = mpButtonScanTv.Text;

            checkBoxCreateSignalGroup.Text = "Create \"" + TvConstants.TvGroupNames.DVBC + "\" group";

            scanState = ScanState.Initialized;
        }
コード例 #7
0
    private void Init()
    {
      // set to same positions as progress
      mpGrpAdvancedTuning.Top = mpGrpScanProgress.Top;
      mpComboBoxCountry.Items.Clear();
      try
      {
        fileFilters = new FileFilters("DVBC", ref mpComboBoxCountry, ref mpComboBoxRegion);
      }
      catch (Exception)
      {
        MessageBox.Show(@"Unable to open TuningParameters\dvbc\*.xml");
        return;
      }
      SetButtonState();
      SetDefaults();

      buttonText = mpButtonScanTv.Text;

      checkBoxCreateSignalGroup.Text = "Create \"" + TvConstants.TvGroupNames.DVBC + "\" group";

      scanState = ScanState.Initialized;
    }