Наследование: System.Windows.Forms.UserControl
Пример #1
0
        public ConfigureForm(LakeChabotReader reader)
        {
            _reader = reader;

            InitializeComponent();

            //Clark 2011.7.25.   Clear Memory data. Avoid many invenory or
            //other to full in memory and can't catch corrent packet.
            LakeChabotReader.MANAGED_ACCESS.API_RadioEnterConfigMenu();

            this.Text = String.Format("{0}  Module Configuration", AssemblyTitle);

            _generalControl = new ConfigureSettingsControl(Reader);
            _generalControl.Visible = true;
            _generalControl.Name = "_generalControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_generalControl);

            _antennaControl	= new ConfigureAntenna(Reader);
            _antennaControl.Visible = false;
            _antennaControl.Name = "_antennaControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_antennaControl);

            _selectCriteriaControl = new ConfigureSelect_Display( Reader );
            _selectCriteriaControl.Visible = false;
            _selectCriteriaControl.Name = "_selectCriteriaControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_selectCriteriaControl);

            _algorithmControl = new ConfigureAlgorithm_Display(Reader);
            _algorithmControl.Visible = false;
            _algorithmControl.Name = "_algorithmControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_algorithmControl);

            _postSingulationControl = new ConfigurePostSingulation_Display(Reader);
            _postSingulationControl.Visible = false;
            _postSingulationControl.Name = "_postSingulationControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_postSingulationControl);

            _gpioControl = new ConfigureGPIO(Reader);
            _gpioControl.Visible = false;
            _gpioControl.Name = "_gpioControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_gpioControl);

            _rfControl = new ConfigureRFBandForm(Reader);
            _rfControl.Visible = false;
            _rfControl.Name = "_rfControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_rfControl);

            _aboutReaderControl = new AboutReaderControl(Reader);
            _aboutReaderControl.Visible = false;
            _aboutReaderControl.Name = "_aboutReaderControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_aboutReaderControl);

            _troubleshootControl = new ConfigureTroubleControl(Reader);
            _troubleshootControl.Visible = false;
            _troubleshootControl.Name = "_troubleshootControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_troubleshootControl);

            //Clark 2011.2.10 Cpoied from R1000 Tracer.
            RFBandsToolStripButton.Visible     = false;
        }
Пример #2
0
        public ConfigureForm(LakeChabotReader reader)
        {
            _reader = reader;

            InitializeComponent();

            //Clark 2011.7.25.   Clear Memory data. Avoid many invenory or
            //other to full in memory and can't catch corrent packet.
            LakeChabotReader.MANAGED_ACCESS.API_RadioEnterConfigMenu();


            this.Text = String.Format("{0}  Module Configuration", AssemblyTitle);

            _generalControl         = new ConfigureSettingsControl(Reader);
            _generalControl.Visible = true;
            _generalControl.Name    = "_generalControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_generalControl);

            _antennaControl         = new ConfigureAntenna(Reader);
            _antennaControl.Visible = false;
            _antennaControl.Name    = "_antennaControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_antennaControl);

            _selectCriteriaControl         = new ConfigureSelect_Display(Reader);
            _selectCriteriaControl.Visible = false;
            _selectCriteriaControl.Name    = "_selectCriteriaControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_selectCriteriaControl);

            _algorithmControl         = new ConfigureAlgorithm_Display(Reader);
            _algorithmControl.Visible = false;
            _algorithmControl.Name    = "_algorithmControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_algorithmControl);

            _postSingulationControl         = new ConfigurePostSingulation_Display(Reader);
            _postSingulationControl.Visible = false;
            _postSingulationControl.Name    = "_postSingulationControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_postSingulationControl);

            _gpioControl         = new ConfigureGPIO(Reader);
            _gpioControl.Visible = false;
            _gpioControl.Name    = "_gpioControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_gpioControl);


            _rfControl         = new ConfigureRFBandForm(Reader);
            _rfControl.Visible = false;
            _rfControl.Name    = "_rfControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_rfControl);

            _aboutReaderControl         = new AboutReaderControl(Reader);
            _aboutReaderControl.Visible = false;
            _aboutReaderControl.Name    = "_aboutReaderControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_aboutReaderControl);

            _troubleshootControl         = new ConfigureTroubleControl(Reader);
            _troubleshootControl.Visible = false;
            _troubleshootControl.Name    = "_troubleshootControl";
            configureToolStripContainer.ContentPanel.Controls.Add(_troubleshootControl);


            //Clark 2011.2.10 Cpoied from R1000 Tracer.
            RFBandsToolStripButton.Visible = false;
        }