Exemplo n.º 1
0
        private void RadProbMeasure_Load(object sender, EventArgs e)
        {
            this.conductionThresholdByPin.Minimum   = 0;
            this.conductionThresholdByPin.Maximum   = 1000;
            this.conductionThresholdByPin.Increment = 10;
            this.conductionThresholdByPin.Value     = 1000;

            this.num_fthreshold.Minimum   = 0;
            this.num_fthreshold.Maximum   = 1000;
            this.num_fthreshold.Increment = 10;
            this.num_fthreshold.Value     = 1000;

            this.num_fminPin.Minimum = 1;
            this.num_fminPin.Maximum = 384;
            this.num_fmaxPin.Minimum = 1;
            this.num_fmaxPin.Maximum = 384;

            this.cobInter.MultiColumnComboBoxElement.Columns.Add("A");
            StudyProbCom.InitMulCombox(this.cobInter);
            InterfaceInfoLibrary = new InterfaceInfoLibraryManager();

            this.btn_InterStart.Click  += Btn_InterStart_Click;
            this.btn_InterCancel.Click += Btn_InterCancel_Click;

            this.btn_fstartTest.Click += Btn_fstartTest_Click;
            this.btn_fcancel.Click    += Btn_fcancel_Click;
        }
Exemplo n.º 2
0
        private void frmSefStudy_Load(object sender, EventArgs e)
        {
            if (this.studyConfig.TestInterAList != null)
            {
                this.studyConfig.TestInterAList.Clear();
            }
            if (this.studyConfig.TestInterBList != null)
            {
                this.studyConfig.TestInterBList.Clear();
            }
            //InitDefaultDevPoint();
            this.mulInterA.MultiColumnComboBoxElement.Columns.Add("A");
            this.mulInterB.MultiColumnComboBoxElement.Columns.Add("B");
            StudyProbCom.InitMulCombox(this.mulInterA);
            StudyProbCom.InitMulCombox(this.mulInterB);
            if (this.mulInterA.EditorControl.Rows.Count >= 1)
            {
                this.mulInterA.SelectedIndex = 0;
            }
            if (this.mulInterB.EditorControl.Rows.Count >= 2)
            {
                this.mulInterB.SelectedIndex = 1;
            }
            Init();

            this.btn_defineStudyByPin.Click += Btn_defineStudyByPin_Click;
            this.btn_cancelByPin.Click      += Btn_cancelByPin_Click;
            this.btn_fstart.Click           += Btn_fstart_Click;
            this.btn_fcancel.Click          += Btn_fcancel_Click;
        }