Пример #1
0
        public override void vmethod_0(Class13 class13_0)
        {
            float[] array = class13_0.float_0;
            int     num   = class13_0.method_0();
            int     num2  = class13_0.method_2();
            float   num3  = 0f;

            switch (this.int_0)
            {
            case 1:
                num3 = Class15.smethod_9(array, num, num2);
                break;

            case 2:
                num3 = Class15.smethod_4(array, num, num2);
                break;

            case 3:
                num3 = 1f;
                break;
            }
            float num4 = this.float_0 / num3;

            for (int i = num; i < num + num2; i++)
            {
                array[i] = class13_0.vmethod_1(i, array[i], array[i] * num4);
            }
        }
Пример #2
0
        public void RefreshByUserMode()
        {
            bool flag = Class15.smethod_4() == Class15.UserMode.Expert;

            this.lblLongDur.Enabled &= flag;
            this.nudLongDur.Enabled &= flag;
        }
Пример #3
0
        public override void vmethod_0(Class13 class130)
        {
            var array = class130.Float0;
            var num   = class130.method_0();
            var num2  = class130.method_2();
            var num3  = 0f;

            switch (_int0)
            {
            case 1:
                num3 = Class15.smethod_9(array, num, num2);
                break;

            case 2:
                num3 = Class15.smethod_4(array, num, num2);
                break;

            case 3:
                num3 = 1f;
                break;
            }
            var num4 = _float0 / num3;

            for (var i = num; i < num + num2; i++)
            {
                array[i] = class130.vmethod_1(i, array[i], array[i] * num4);
            }
        }
Пример #4
0
        public void RefreshByUserMode()
        {
            bool flag = Class15.smethod_4() == Class15.UserMode.Expert;

            this.lblRingStyle.Enabled  &= flag;
            this.cmbRingStyle.Enabled  &= flag;
            this.chkCallRxTone.Enabled &= flag;
        }
        public void RefreshByUserMode()
        {
            bool flag = Class15.smethod_4() == Class15.UserMode.Expert;

            this.grpBootScreen.Enabled    &= flag;
            this.chkBootPwdEnable.Enabled &= flag;
            this.lblBootPwd.Enabled       &= flag;
            this.txtBootPwd.Enabled       &= flag;
        }
Пример #6
0
        public void RefreshByUserMode()
        {
            bool flag = Class15.smethod_4() == Class15.UserMode.Expert;

            this.lblDigitHang.Enabled     &= flag;
            this.nudDigitHang.Enabled     &= flag;
            this.lblAnalogHang.Enabled    &= flag;
            this.nudAnalogHang.Enabled    &= flag;
            this.chkPriorityAlert.Enabled &= flag;
        }
        public void RefreshByUserMode()
        {
            bool flag = Class15.smethod_4() == Class15.UserMode.Expert;

            this.lblCycles.Enabled  &= flag;
            this.nudCycles.Enabled  &= flag;
            this.lblTxCycle.Enabled &= flag;
            this.nudTxCycle.Enabled &= flag;
            this.lblRxCycle.Enabled &= flag;
            this.nudRxCycle.Enabled &= flag;
        }
Пример #8
0
        public void RefreshByUserMode()
        {
            bool flag = Class15.smethod_4() == Class15.UserMode.Expert;

            this.lblType.Enabled   &= flag;
            this.cmbType.Enabled   &= flag;
            this.lblKeyLen.Enabled &= flag;
            this.cmbKeyLen.Enabled &= flag;
            this.btnAdd.Enabled    &= flag;
            this.btnDel.Enabled    &= flag;
            this.dgvKey.Enabled    &= flag;
        }
Пример #9
0
        public void RefreshByUserMode()
        {
            bool flag = Class15.smethod_4() == Class15.UserMode.Expert;

            this.chkRadioDisable.Enabled   &= flag;
            this.chkRemoteMonitor.Enabled  &= flag;
            this.chkEmgRM.Enabled          &= flag;
            this.lblTxWakeMsgLimit.Enabled &= flag;
            this.nudTxWakeMsgLimit.Enabled &= flag;
            this.lblRMDuration.Enabled     &= flag;
            this.nudRMDuration.Enabled     &= flag;
            this.lblTxSyncWakeTot.Enabled  &= flag;
            this.nudTxSyncWakeTot.Enabled  &= flag;
        }
        public void RefreshByUserMode()
        {
            Class15.smethod_4();
            bool flag  = Class15.CUR_MODE > 0;
            bool flag2 = Class15.CUR_MODE > 1;

            this.txtMinFreq.ReadOnly     = !flag;
            this.txtMaxFreq.ReadOnly     = !flag;
            this.txtMinFreq2.ReadOnly    = !flag;
            this.txtMaxFreq2.ReadOnly    = !flag;
            this.txtModel.ReadOnly       = !flag2;
            this.txtSn.ReadOnly          = !flag2;
            this.txtHardwareVer.ReadOnly = !flag2;
            this.sgtextBox_0.ReadOnly    = !flag2;
        }
Пример #11
0
    // Token: 0x06000090 RID: 144 RVA: 0x0000B598 File Offset: 0x00009798
    public static byte[] smethod_5(string string_0)
    {
        if (Class9.stream_0 == null)
        {
            Class9.stream_0 = Class9.smethod_0();
        }
        long num = Class9.smethod_11(string_0);

        byte[] array = new byte[4];
        Class9.smethod_9(num, array, 0, 4);
        int num2 = Class15.smethod_4(array, 0);

        Array.Clear(array, 0, array.Length);
        byte[] array2 = new byte[num2];
        Class9.smethod_9(num + 4L, array2, 0, num2);
        return(array2);
    }
Пример #12
0
 private void method_3(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (e.RowIndex >= 0 && e.ColumnIndex >= 0 && e.ColumnIndex != 5)
     {
         Control[] array = new Control[5]
         {
             this.txtName,
             this.txtCallId,
             this.cmbType,
             this.cmbRingStyle,
             this.cmbCallRxTone
         };
         Control control = array[e.ColumnIndex];
         if (this.dgvContacts.CurrentRow.Tag != null)
         {
             int index = (int)this.dgvContacts.CurrentRow.Tag;
             if (ContactForm.data.IsAllCall(index) && e.ColumnIndex == 2)
             {
                 return;
             }
             if (e.RowIndex == 0 && e.ColumnIndex == 3)
             {
                 return;
             }
             if ((e.ColumnIndex == 4 || e.ColumnIndex == 5) && Class15.smethod_4() != Class15.UserMode.Expert)
             {
                 return;
             }
             Rectangle cellDisplayRectangle = this.dgvContacts.GetCellDisplayRectangle(e.ColumnIndex, e.RowIndex, false);
             Point     location             = cellDisplayRectangle.Location;
             location.Offset(this.dgvContacts.Location);
             location.Offset(this.pnlContact.Location);
             control.Location = location;
             control.Size     = cellDisplayRectangle.Size;
             control.Text     = ((DataGridView)sender).CurrentCell.Value.ToString();
             control.Visible  = true;
             control.Focus();
             control.BringToFront();
         }
     }
 }