CodeTV.WizardForm.WizardForm C# (CSharp) Method

WizardForm() public method

public WizardForm ( MainForm mainForm ) : System
mainForm MainForm
return System
        public WizardForm(MainForm mainForm)
        {
            this.mainForm = mainForm;

            InitializeComponent();

            // wizardPageChannelParameters

            this.comboBoxTunerType.Items.AddRange(new TunerTypeEx[] {
                new TunerTypeEx(TunerType.DVBT),
                new TunerTypeEx(TunerType.DVBC),
                new TunerTypeEx(TunerType.DVBS),
                new TunerTypeEx(TunerType.Analogic)
            });
            this.comboBoxTunerType.SelectedIndex = 0;

            // wizardPageScanner

            this.listViewScanResult.SmallImageList = MainForm.imageListLogoTV;

            // wizardPageChannelNumber

            this.listViewChannelNumbering.SmallImageList = MainForm.imageListLogoTV;
        }