Пример #1
0
        private void method_1()
        {
            int num = 0;

            Class15.smethod_36(this.nudEmgShortDur, new Class13(1, 15, 1, 50m, 3));
            Class15.smethod_36(this.nudLongDur, new Class13(4, 15, 1, 250m, 4));
            this.class4_1.Items.Clear();
            this.class4_2.Items.Clear();
            this.class4_0.Items.Clear();
            this.class4_3.Items.Clear();
            this.cmbTkShort.Items.Clear();
            this.cmbTkLong.Items.Clear();
            for (num = 0; num < ButtonForm.SZ_BUTTON_ITEM.Length; num++)
            {
                if (num != 21 && num != 15)
                {
                    this.class4_2.method_1(ButtonForm.SZ_BUTTON_ITEM[num], num);
                    this.class4_3.method_1(ButtonForm.SZ_BUTTON_ITEM[num], num);
                    this.cmbTkLong.method_1(ButtonForm.SZ_BUTTON_ITEM[num], num);
                    this.class4_1.method_1(ButtonForm.SZ_BUTTON_ITEM[num], num);
                    this.class4_0.method_1(ButtonForm.SZ_BUTTON_ITEM[num], num);
                    this.cmbTkShort.method_1(ButtonForm.SZ_BUTTON_ITEM[num], num);
                }
            }
            num = 0;
            this.dgvOneTouch.RowCount = 6;
            this.cmbMode.Items.Clear();
            string[] sZ_MODE = ButtonForm.SZ_MODE;
            foreach (string string_ in sZ_MODE)
            {
                this.cmbMode.Items.Add(new Class5(string_, num++));
            }
            this.cmbMode.DisplayMember = "Text";
            this.cmbMode.ValueMember   = "Value";
        }
Пример #2
0
 private void method_0()
 {
     this.nudRMDuration.Minimum   = 10m;
     this.nudRMDuration.Maximum   = 120m;
     this.nudRMDuration.Increment = 10m;
     this.nudRMDuration.method_0(3);
     this.nudTxSyncWakeTot.Minimum   = 125m;
     this.nudTxSyncWakeTot.Maximum   = 375m;
     this.nudTxSyncWakeTot.Increment = 25m;
     this.nudTxSyncWakeTot.method_0(3);
     Class15.smethod_36(this.nudTxWakeMsgLimit, new Class13(0, 4, 1, 1m, 1));
     Class15.smethod_36(this.nudSelCallHang, new Class13(0, 14, 1, 500m, 4));
     Class15.smethod_36(this.nudAutoResetTimer, new Class13(1, 255, 1, 1m, 3));
 }