Beispiel #1
0
        /// <summary>
        /// Инициализирует новый экземпляр класса <see cref="R440OForm"/>
        /// </summary>
        public R440OForm()
        {
            this.InitializeComponent();
            Antenna.StartServerPing();
            Antenna.ErrorEvent += ServerError;
            TextHelperForm textHelper = new TextHelperForm();

            textHelper.Show();
            LearnMain.setHelpForms(this, textHelper);
            LearnMain.setIntent(ModulesEnum.openPowerCabeltoPower);
        }
Beispiel #2
0
        /// <summary>
        /// Инициализирует новый экземпляр класса <see cref="R440OForm"/>
        /// </summary>
        public R440OForm()
        {
            this.InitializeComponent();
            Antenna.StartServerPing();
            Antenna.ErrorEvent += ServerError;

            TestMain.close += Close;

            if (ParametersConfig.getIsLearning())
            {
                TextHelperForm textHelper = new TextHelperForm();
                textHelper.Show();
                LearnMain.setHelpForms(this, textHelper);
                LearnMain.setIntent(ModulesEnum.openPowerCabeltoPower);
            }
            else if (ParametersConfig.IsTesting)
            {
                TestMain.setIntent(ModulesEnum.openPowerCabeltoPower);
            }
        }