Zastone/HPG-68D/Backup/DtmfForm.cs
2024-06-25 23:18:56 +02:00

1463 lines
74 KiB
C#

// Decompiled with JetBrains decompiler
// Type: HPG_68D.DtmfForm
// Assembly: HPG-68D, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 530C99A8-8EEF-42C8-8A74-66FDE7B322C3
// Assembly location: C:\Program Files (x86)\HONGKAIDE\HPG-68D\HPG-68D.exe
using HPG_68D.My;
using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using System;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
namespace HPG_68D
{
[DesignerGenerated]
public class DtmfForm : Form
{
private static ArrayList __ENCList = new ArrayList();
private IContainer components;
[AccessedThroughProperty("DataGridView1")]
private DataGridView _DataGridView1;
[AccessedThroughProperty("GroupBox1")]
private GroupBox _GroupBox1;
[AccessedThroughProperty("ComboBox双音多频速率")]
private ComboBox _ComboBox双音多频速率;
[AccessedThroughProperty("Label1")]
private Label _Label1;
[AccessedThroughProperty("ComboBox首位数码时间")]
private ComboBox _ComboBox首位数码时间;
[AccessedThroughProperty("Label2")]
private Label _Label2;
[AccessedThroughProperty("ComboBoxD键设定")]
private ComboBox _ComboBoxD键设定;
[AccessedThroughProperty("Label5")]
private Label _Label5;
[AccessedThroughProperty("ComboBoxEF音")]
private ComboBox _ComboBoxEF音;
[AccessedThroughProperty("Label4")]
private Label _Label4;
[AccessedThroughProperty("ComboBox首位数码延迟时间")]
private ComboBox _ComboBox首位数码延迟时间;
[AccessedThroughProperty("Label3")]
private Label _Label3;
[AccessedThroughProperty("TextBox1")]
private TextBox _TextBox1;
[AccessedThroughProperty("Label6")]
private Label _Label6;
[AccessedThroughProperty("CheckBox侧音")]
private CheckBox _CheckBox侧音;
[AccessedThroughProperty("TextBox2")]
private TextBox _TextBox2;
[AccessedThroughProperty("Label7")]
private Label _Label7;
[AccessedThroughProperty("GroupBox2")]
private GroupBox _GroupBox2;
[AccessedThroughProperty("TextBox4")]
private TextBox _TextBox4;
[AccessedThroughProperty("Label9")]
private Label _Label9;
[AccessedThroughProperty("Label8")]
private Label _Label8;
[AccessedThroughProperty("TextBox3")]
private TextBox _TextBox3;
[AccessedThroughProperty("ComboBox8")]
private ComboBox _ComboBox8;
[AccessedThroughProperty("Label12")]
private Label _Label12;
[AccessedThroughProperty("ComboBox7")]
private ComboBox _ComboBox7;
[AccessedThroughProperty("Label11")]
private Label _Label11;
[AccessedThroughProperty("ComboBoxDTMF信令")]
private ComboBox _ComboBoxDTMF信令;
[AccessedThroughProperty("Label10")]
private Label _Label10;
[AccessedThroughProperty("CheckBoxDTMF自动发码")]
private CheckBox _CheckBoxDTMF自动发码;
[AccessedThroughProperty("ComboBox10")]
private ComboBox _ComboBox10;
[AccessedThroughProperty("Label14")]
private Label _Label14;
[AccessedThroughProperty("ComboBox9")]
private ComboBox _ComboBox9;
[AccessedThroughProperty("Label13")]
private Label _Label13;
[AccessedThroughProperty("TabControl1")]
private TabControl _TabControl1;
[AccessedThroughProperty("TabPage1")]
private TabPage _TabPage1;
[AccessedThroughProperty("CheckBoxDTMF按键锁定")]
private CheckBox _CheckBoxDTMF按键锁定;
[AccessedThroughProperty("TabPage2")]
private TabPage _TabPage2;
[AccessedThroughProperty("TabPage3")]
private TabPage _TabPage3;
[AccessedThroughProperty("Button3")]
private Button _Button3;
[AccessedThroughProperty("Button2")]
private Button _Button2;
[AccessedThroughProperty("Button1")]
private Button _Button1;
[AccessedThroughProperty("Column0")]
private DataGridViewTextBoxColumn _Column0;
[DebuggerNonUserCode]
static DtmfForm()
{
}
[DebuggerNonUserCode]
public DtmfForm()
{
this.Load += new EventHandler(this.DtmfForm_Load);
this.Deactivate += new EventHandler(this.DtmfForm_Deactivate);
this.FormClosing += new FormClosingEventHandler(this.DtmfForm_FormClosing);
DtmfForm.__ENCList.Add((object) new WeakReference((object) this));
this.InitializeComponent();
}
[DebuggerNonUserCode]
protected override void Dispose(bool disposing)
{
if (disposing && this.components != null)
this.components.Dispose();
base.Dispose(disposing);
}
[DebuggerStepThrough]
private void InitializeComponent()
{
DataGridViewCellStyle gridViewCellStyle1 = new DataGridViewCellStyle();
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (DtmfForm));
DataGridViewCellStyle gridViewCellStyle2 = new DataGridViewCellStyle();
DataGridViewCellStyle gridViewCellStyle3 = new DataGridViewCellStyle();
DataGridViewCellStyle gridViewCellStyle4 = new DataGridViewCellStyle();
this.DataGridView1 = new DataGridView();
this.Column0 = new DataGridViewTextBoxColumn();
this.GroupBox1 = new GroupBox();
this.TextBox2 = new TextBox();
this.Label7 = new Label();
this.TextBox1 = new TextBox();
this.Label6 = new Label();
this.CheckBoxDTMF自动发码 = new CheckBox();
this.CheckBox侧音 = new CheckBox();
this.ComboBoxD键设定 = new ComboBox();
this.Label5 = new Label();
this.ComboBoxEF音 = new ComboBox();
this.Label4 = new Label();
this.ComboBox首位数码延迟时间 = new ComboBox();
this.Label3 = new Label();
this.ComboBox首位数码时间 = new ComboBox();
this.Label2 = new Label();
this.ComboBox双音多频速率 = new ComboBox();
this.Label1 = new Label();
this.GroupBox2 = new GroupBox();
this.TextBox4 = new TextBox();
this.Label9 = new Label();
this.Label8 = new Label();
this.TextBox3 = new TextBox();
this.ComboBox10 = new ComboBox();
this.ComboBox8 = new ComboBox();
this.Label14 = new Label();
this.Label12 = new Label();
this.ComboBox9 = new ComboBox();
this.Label13 = new Label();
this.ComboBox7 = new ComboBox();
this.Label11 = new Label();
this.ComboBoxDTMF信令 = new ComboBox();
this.Label10 = new Label();
this.TabControl1 = new TabControl();
this.TabPage1 = new TabPage();
this.CheckBoxDTMF按键锁定 = new CheckBox();
this.TabPage2 = new TabPage();
this.TabPage3 = new TabPage();
this.Button3 = new Button();
this.Button2 = new Button();
this.Button1 = new Button();
((ISupportInitialize) this.DataGridView1).BeginInit();
this.GroupBox1.SuspendLayout();
this.GroupBox2.SuspendLayout();
this.TabControl1.SuspendLayout();
this.TabPage1.SuspendLayout();
this.TabPage2.SuspendLayout();
this.TabPage3.SuspendLayout();
this.SuspendLayout();
this.DataGridView1.AccessibleDescription = (string) null;
this.DataGridView1.AccessibleName = (string) null;
this.DataGridView1.AllowUserToAddRows = false;
this.DataGridView1.AllowUserToDeleteRows = false;
this.DataGridView1.AllowUserToResizeColumns = false;
this.DataGridView1.AllowUserToResizeRows = false;
gridViewCellStyle1.Alignment = DataGridViewContentAlignment.MiddleCenter;
this.DataGridView1.AlternatingRowsDefaultCellStyle = gridViewCellStyle1;
componentResourceManager.ApplyResources((object) this.DataGridView1, "DataGridView1");
this.DataGridView1.BackgroundImage = (Image) null;
gridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleCenter;
gridViewCellStyle2.BackColor = SystemColors.Control;
gridViewCellStyle2.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 134);
gridViewCellStyle2.ForeColor = SystemColors.WindowText;
gridViewCellStyle2.SelectionBackColor = SystemColors.Highlight;
gridViewCellStyle2.SelectionForeColor = SystemColors.HighlightText;
gridViewCellStyle2.WrapMode = DataGridViewTriState.True;
this.DataGridView1.ColumnHeadersDefaultCellStyle = gridViewCellStyle2;
this.DataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.DataGridView1.Columns.AddRange((DataGridViewColumn) this.Column0);
this.DataGridView1.Font = (Font) null;
this.DataGridView1.Name = "DataGridView1";
gridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleCenter;
gridViewCellStyle3.BackColor = SystemColors.Control;
gridViewCellStyle3.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 134);
gridViewCellStyle3.ForeColor = SystemColors.WindowText;
gridViewCellStyle3.SelectionBackColor = SystemColors.Highlight;
gridViewCellStyle3.SelectionForeColor = SystemColors.HighlightText;
gridViewCellStyle3.WrapMode = DataGridViewTriState.True;
this.DataGridView1.RowHeadersDefaultCellStyle = gridViewCellStyle3;
this.DataGridView1.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.DisableResizing;
gridViewCellStyle4.Alignment = DataGridViewContentAlignment.MiddleCenter;
this.DataGridView1.RowsDefaultCellStyle = gridViewCellStyle4;
this.DataGridView1.RowTemplate.Height = 23;
this.Column0.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
componentResourceManager.ApplyResources((object) this.Column0, "Column0");
this.Column0.MaxInputLength = 24;
this.Column0.Name = "Column0";
this.Column0.Resizable = DataGridViewTriState.False;
this.Column0.SortMode = DataGridViewColumnSortMode.NotSortable;
this.GroupBox1.AccessibleDescription = (string) null;
this.GroupBox1.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.GroupBox1, "GroupBox1");
this.GroupBox1.BackgroundImage = (Image) null;
this.GroupBox1.Controls.Add((Control) this.TextBox2);
this.GroupBox1.Controls.Add((Control) this.Label7);
this.GroupBox1.Controls.Add((Control) this.TextBox1);
this.GroupBox1.Controls.Add((Control) this.Label6);
this.GroupBox1.Font = (Font) null;
this.GroupBox1.Name = "GroupBox1";
this.GroupBox1.TabStop = false;
this.TextBox2.AccessibleDescription = (string) null;
this.TextBox2.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.TextBox2, "TextBox2");
this.TextBox2.BackgroundImage = (Image) null;
this.TextBox2.Font = (Font) null;
this.TextBox2.Name = "TextBox2";
this.Label7.AccessibleDescription = (string) null;
this.Label7.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Label7, "Label7");
this.Label7.Font = (Font) null;
this.Label7.Name = "Label7";
this.TextBox1.AccessibleDescription = (string) null;
this.TextBox1.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.TextBox1, "TextBox1");
this.TextBox1.BackgroundImage = (Image) null;
this.TextBox1.Font = (Font) null;
this.TextBox1.Name = "TextBox1";
this.Label6.AccessibleDescription = (string) null;
this.Label6.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Label6, "Label6");
this.Label6.Font = (Font) null;
this.Label6.Name = "Label6";
this.CheckBoxDTMF自动发码.AccessibleDescription = (string) null;
this.CheckBoxDTMF自动发码.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.CheckBoxDTMF自动发码, "CheckBoxDTMF自动发码");
this.CheckBoxDTMF自动发码.BackgroundImage = (Image) null;
this.CheckBoxDTMF自动发码.Font = (Font) null;
this.CheckBoxDTMF自动发码.Name = "CheckBoxDTMF自动发码";
this.CheckBoxDTMF自动发码.UseVisualStyleBackColor = true;
this.CheckBox侧音.AccessibleDescription = (string) null;
this.CheckBox侧音.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.CheckBox侧音, "CheckBox侧音");
this.CheckBox侧音.BackgroundImage = (Image) null;
this.CheckBox侧音.Font = (Font) null;
this.CheckBox侧音.Name = "CheckBox侧音";
this.CheckBox侧音.UseVisualStyleBackColor = true;
this.ComboBoxD键设定.AccessibleDescription = (string) null;
this.ComboBoxD键设定.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.ComboBoxD键设定, "ComboBoxD键设定");
this.ComboBoxD键设定.BackgroundImage = (Image) null;
this.ComboBoxD键设定.DropDownStyle = ComboBoxStyle.DropDownList;
this.ComboBoxD键设定.Font = (Font) null;
this.ComboBoxD键设定.FormattingEnabled = true;
this.ComboBoxD键设定.Items.AddRange(new object[16]
{
(object) componentResourceManager.GetString("ComboBoxD键设定.Items"),
(object) componentResourceManager.GetString("ComboBoxD键设定.Items1"),
(object) componentResourceManager.GetString("ComboBoxD键设定.Items2"),
(object) componentResourceManager.GetString("ComboBoxD键设定.Items3"),
(object) componentResourceManager.GetString("ComboBoxD键设定.Items4"),
(object) componentResourceManager.GetString("ComboBoxD键设定.Items5"),
(object) componentResourceManager.GetString("ComboBoxD键设定.Items6"),
(object) componentResourceManager.GetString("ComboBoxD键设定.Items7"),
(object) componentResourceManager.GetString("ComboBoxD键设定.Items8"),
(object) componentResourceManager.GetString("ComboBoxD键设定.Items9"),
(object) componentResourceManager.GetString("ComboBoxD键设定.Items10"),
(object) componentResourceManager.GetString("ComboBoxD键设定.Items11"),
(object) componentResourceManager.GetString("ComboBoxD键设定.Items12"),
(object) componentResourceManager.GetString("ComboBoxD键设定.Items13"),
(object) componentResourceManager.GetString("ComboBoxD键设定.Items14"),
(object) componentResourceManager.GetString("ComboBoxD键设定.Items15")
});
this.ComboBoxD键设定.Name = "ComboBoxD键设定";
this.Label5.AccessibleDescription = (string) null;
this.Label5.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Label5, "Label5");
this.Label5.Font = (Font) null;
this.Label5.Name = "Label5";
this.ComboBoxEF音.AccessibleDescription = (string) null;
this.ComboBoxEF音.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.ComboBoxEF音, "ComboBoxEF音");
this.ComboBoxEF音.BackgroundImage = (Image) null;
this.ComboBoxEF音.DropDownStyle = ComboBoxStyle.DropDownList;
this.ComboBoxEF音.Font = (Font) null;
this.ComboBoxEF音.FormattingEnabled = true;
this.ComboBoxEF音.Items.AddRange(new object[4]
{
(object) componentResourceManager.GetString("ComboBoxEF音.Items"),
(object) componentResourceManager.GetString("ComboBoxEF音.Items1"),
(object) componentResourceManager.GetString("ComboBoxEF音.Items2"),
(object) componentResourceManager.GetString("ComboBoxEF音.Items3")
});
this.ComboBoxEF音.Name = "ComboBoxEF音";
this.Label4.AccessibleDescription = (string) null;
this.Label4.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Label4, "Label4");
this.Label4.Font = (Font) null;
this.Label4.Name = "Label4";
this.ComboBox首位数码延迟时间.AccessibleDescription = (string) null;
this.ComboBox首位数码延迟时间.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.ComboBox首位数码延迟时间, "ComboBox首位数码延迟时间");
this.ComboBox首位数码延迟时间.BackgroundImage = (Image) null;
this.ComboBox首位数码延迟时间.DropDownStyle = ComboBoxStyle.DropDownList;
this.ComboBox首位数码延迟时间.Font = (Font) null;
this.ComboBox首位数码延迟时间.FormattingEnabled = true;
this.ComboBox首位数码延迟时间.Items.AddRange(new object[10]
{
(object) componentResourceManager.GetString("ComboBox首位数码延迟时间.Items"),
(object) componentResourceManager.GetString("ComboBox首位数码延迟时间.Items1"),
(object) componentResourceManager.GetString("ComboBox首位数码延迟时间.Items2"),
(object) componentResourceManager.GetString("ComboBox首位数码延迟时间.Items3"),
(object) componentResourceManager.GetString("ComboBox首位数码延迟时间.Items4"),
(object) componentResourceManager.GetString("ComboBox首位数码延迟时间.Items5"),
(object) componentResourceManager.GetString("ComboBox首位数码延迟时间.Items6"),
(object) componentResourceManager.GetString("ComboBox首位数码延迟时间.Items7"),
(object) componentResourceManager.GetString("ComboBox首位数码延迟时间.Items8"),
(object) componentResourceManager.GetString("ComboBox首位数码延迟时间.Items9")
});
this.ComboBox首位数码延迟时间.Name = "ComboBox首位数码延迟时间";
this.Label3.AccessibleDescription = (string) null;
this.Label3.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Label3, "Label3");
this.Label3.Font = (Font) null;
this.Label3.Name = "Label3";
this.ComboBox首位数码时间.AccessibleDescription = (string) null;
this.ComboBox首位数码时间.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.ComboBox首位数码时间, "ComboBox首位数码时间");
this.ComboBox首位数码时间.BackgroundImage = (Image) null;
this.ComboBox首位数码时间.DropDownStyle = ComboBoxStyle.DropDownList;
this.ComboBox首位数码时间.Font = (Font) null;
this.ComboBox首位数码时间.FormattingEnabled = true;
this.ComboBox首位数码时间.Items.AddRange(new object[11]
{
(object) componentResourceManager.GetString("ComboBox首位数码时间.Items"),
(object) componentResourceManager.GetString("ComboBox首位数码时间.Items1"),
(object) componentResourceManager.GetString("ComboBox首位数码时间.Items2"),
(object) componentResourceManager.GetString("ComboBox首位数码时间.Items3"),
(object) componentResourceManager.GetString("ComboBox首位数码时间.Items4"),
(object) componentResourceManager.GetString("ComboBox首位数码时间.Items5"),
(object) componentResourceManager.GetString("ComboBox首位数码时间.Items6"),
(object) componentResourceManager.GetString("ComboBox首位数码时间.Items7"),
(object) componentResourceManager.GetString("ComboBox首位数码时间.Items8"),
(object) componentResourceManager.GetString("ComboBox首位数码时间.Items9"),
(object) componentResourceManager.GetString("ComboBox首位数码时间.Items10")
});
this.ComboBox首位数码时间.Name = "ComboBox首位数码时间";
this.Label2.AccessibleDescription = (string) null;
this.Label2.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Label2, "Label2");
this.Label2.Font = (Font) null;
this.Label2.Name = "Label2";
this.ComboBox双音多频速率.AccessibleDescription = (string) null;
this.ComboBox双音多频速率.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.ComboBox双音多频速率, "ComboBox双音多频速率");
this.ComboBox双音多频速率.BackgroundImage = (Image) null;
this.ComboBox双音多频速率.DropDownStyle = ComboBoxStyle.DropDownList;
this.ComboBox双音多频速率.Font = (Font) null;
this.ComboBox双音多频速率.FormattingEnabled = true;
this.ComboBox双音多频速率.Items.AddRange(new object[10]
{
(object) componentResourceManager.GetString("ComboBox双音多频速率.Items"),
(object) componentResourceManager.GetString("ComboBox双音多频速率.Items1"),
(object) componentResourceManager.GetString("ComboBox双音多频速率.Items2"),
(object) componentResourceManager.GetString("ComboBox双音多频速率.Items3"),
(object) componentResourceManager.GetString("ComboBox双音多频速率.Items4"),
(object) componentResourceManager.GetString("ComboBox双音多频速率.Items5"),
(object) componentResourceManager.GetString("ComboBox双音多频速率.Items6"),
(object) componentResourceManager.GetString("ComboBox双音多频速率.Items7"),
(object) componentResourceManager.GetString("ComboBox双音多频速率.Items8"),
(object) componentResourceManager.GetString("ComboBox双音多频速率.Items9")
});
this.ComboBox双音多频速率.Name = "ComboBox双音多频速率";
this.Label1.AccessibleDescription = (string) null;
this.Label1.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Label1, "Label1");
this.Label1.Font = (Font) null;
this.Label1.Name = "Label1";
this.GroupBox2.AccessibleDescription = (string) null;
this.GroupBox2.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.GroupBox2, "GroupBox2");
this.GroupBox2.BackgroundImage = (Image) null;
this.GroupBox2.Controls.Add((Control) this.TextBox4);
this.GroupBox2.Controls.Add((Control) this.Label9);
this.GroupBox2.Controls.Add((Control) this.Label8);
this.GroupBox2.Controls.Add((Control) this.TextBox3);
this.GroupBox2.Font = (Font) null;
this.GroupBox2.Name = "GroupBox2";
this.GroupBox2.TabStop = false;
this.TextBox4.AccessibleDescription = (string) null;
this.TextBox4.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.TextBox4, "TextBox4");
this.TextBox4.BackgroundImage = (Image) null;
this.TextBox4.Font = (Font) null;
this.TextBox4.Name = "TextBox4";
this.Label9.AccessibleDescription = (string) null;
this.Label9.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Label9, "Label9");
this.Label9.Font = (Font) null;
this.Label9.Name = "Label9";
this.Label8.AccessibleDescription = (string) null;
this.Label8.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Label8, "Label8");
this.Label8.Font = (Font) null;
this.Label8.Name = "Label8";
this.TextBox3.AccessibleDescription = (string) null;
this.TextBox3.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.TextBox3, "TextBox3");
this.TextBox3.BackgroundImage = (Image) null;
this.TextBox3.Font = (Font) null;
this.TextBox3.Name = "TextBox3";
this.ComboBox10.AccessibleDescription = (string) null;
this.ComboBox10.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.ComboBox10, "ComboBox10");
this.ComboBox10.BackgroundImage = (Image) null;
this.ComboBox10.DropDownStyle = ComboBoxStyle.DropDownList;
this.ComboBox10.Font = (Font) null;
this.ComboBox10.FormattingEnabled = true;
this.ComboBox10.Items.AddRange(new object[181]
{
(object) componentResourceManager.GetString("ComboBox10.Items"),
(object) componentResourceManager.GetString("ComboBox10.Items1"),
(object) componentResourceManager.GetString("ComboBox10.Items2"),
(object) componentResourceManager.GetString("ComboBox10.Items3"),
(object) componentResourceManager.GetString("ComboBox10.Items4"),
(object) componentResourceManager.GetString("ComboBox10.Items5"),
(object) componentResourceManager.GetString("ComboBox10.Items6"),
(object) componentResourceManager.GetString("ComboBox10.Items7"),
(object) componentResourceManager.GetString("ComboBox10.Items8"),
(object) componentResourceManager.GetString("ComboBox10.Items9"),
(object) componentResourceManager.GetString("ComboBox10.Items10"),
(object) componentResourceManager.GetString("ComboBox10.Items11"),
(object) componentResourceManager.GetString("ComboBox10.Items12"),
(object) componentResourceManager.GetString("ComboBox10.Items13"),
(object) componentResourceManager.GetString("ComboBox10.Items14"),
(object) componentResourceManager.GetString("ComboBox10.Items15"),
(object) componentResourceManager.GetString("ComboBox10.Items16"),
(object) componentResourceManager.GetString("ComboBox10.Items17"),
(object) componentResourceManager.GetString("ComboBox10.Items18"),
(object) componentResourceManager.GetString("ComboBox10.Items19"),
(object) componentResourceManager.GetString("ComboBox10.Items20"),
(object) componentResourceManager.GetString("ComboBox10.Items21"),
(object) componentResourceManager.GetString("ComboBox10.Items22"),
(object) componentResourceManager.GetString("ComboBox10.Items23"),
(object) componentResourceManager.GetString("ComboBox10.Items24"),
(object) componentResourceManager.GetString("ComboBox10.Items25"),
(object) componentResourceManager.GetString("ComboBox10.Items26"),
(object) componentResourceManager.GetString("ComboBox10.Items27"),
(object) componentResourceManager.GetString("ComboBox10.Items28"),
(object) componentResourceManager.GetString("ComboBox10.Items29"),
(object) componentResourceManager.GetString("ComboBox10.Items30"),
(object) componentResourceManager.GetString("ComboBox10.Items31"),
(object) componentResourceManager.GetString("ComboBox10.Items32"),
(object) componentResourceManager.GetString("ComboBox10.Items33"),
(object) componentResourceManager.GetString("ComboBox10.Items34"),
(object) componentResourceManager.GetString("ComboBox10.Items35"),
(object) componentResourceManager.GetString("ComboBox10.Items36"),
(object) componentResourceManager.GetString("ComboBox10.Items37"),
(object) componentResourceManager.GetString("ComboBox10.Items38"),
(object) componentResourceManager.GetString("ComboBox10.Items39"),
(object) componentResourceManager.GetString("ComboBox10.Items40"),
(object) componentResourceManager.GetString("ComboBox10.Items41"),
(object) componentResourceManager.GetString("ComboBox10.Items42"),
(object) componentResourceManager.GetString("ComboBox10.Items43"),
(object) componentResourceManager.GetString("ComboBox10.Items44"),
(object) componentResourceManager.GetString("ComboBox10.Items45"),
(object) componentResourceManager.GetString("ComboBox10.Items46"),
(object) componentResourceManager.GetString("ComboBox10.Items47"),
(object) componentResourceManager.GetString("ComboBox10.Items48"),
(object) componentResourceManager.GetString("ComboBox10.Items49"),
(object) componentResourceManager.GetString("ComboBox10.Items50"),
(object) componentResourceManager.GetString("ComboBox10.Items51"),
(object) componentResourceManager.GetString("ComboBox10.Items52"),
(object) componentResourceManager.GetString("ComboBox10.Items53"),
(object) componentResourceManager.GetString("ComboBox10.Items54"),
(object) componentResourceManager.GetString("ComboBox10.Items55"),
(object) componentResourceManager.GetString("ComboBox10.Items56"),
(object) componentResourceManager.GetString("ComboBox10.Items57"),
(object) componentResourceManager.GetString("ComboBox10.Items58"),
(object) componentResourceManager.GetString("ComboBox10.Items59"),
(object) componentResourceManager.GetString("ComboBox10.Items60"),
(object) componentResourceManager.GetString("ComboBox10.Items61"),
(object) componentResourceManager.GetString("ComboBox10.Items62"),
(object) componentResourceManager.GetString("ComboBox10.Items63"),
(object) componentResourceManager.GetString("ComboBox10.Items64"),
(object) componentResourceManager.GetString("ComboBox10.Items65"),
(object) componentResourceManager.GetString("ComboBox10.Items66"),
(object) componentResourceManager.GetString("ComboBox10.Items67"),
(object) componentResourceManager.GetString("ComboBox10.Items68"),
(object) componentResourceManager.GetString("ComboBox10.Items69"),
(object) componentResourceManager.GetString("ComboBox10.Items70"),
(object) componentResourceManager.GetString("ComboBox10.Items71"),
(object) componentResourceManager.GetString("ComboBox10.Items72"),
(object) componentResourceManager.GetString("ComboBox10.Items73"),
(object) componentResourceManager.GetString("ComboBox10.Items74"),
(object) componentResourceManager.GetString("ComboBox10.Items75"),
(object) componentResourceManager.GetString("ComboBox10.Items76"),
(object) componentResourceManager.GetString("ComboBox10.Items77"),
(object) componentResourceManager.GetString("ComboBox10.Items78"),
(object) componentResourceManager.GetString("ComboBox10.Items79"),
(object) componentResourceManager.GetString("ComboBox10.Items80"),
(object) componentResourceManager.GetString("ComboBox10.Items81"),
(object) componentResourceManager.GetString("ComboBox10.Items82"),
(object) componentResourceManager.GetString("ComboBox10.Items83"),
(object) componentResourceManager.GetString("ComboBox10.Items84"),
(object) componentResourceManager.GetString("ComboBox10.Items85"),
(object) componentResourceManager.GetString("ComboBox10.Items86"),
(object) componentResourceManager.GetString("ComboBox10.Items87"),
(object) componentResourceManager.GetString("ComboBox10.Items88"),
(object) componentResourceManager.GetString("ComboBox10.Items89"),
(object) componentResourceManager.GetString("ComboBox10.Items90"),
(object) componentResourceManager.GetString("ComboBox10.Items91"),
(object) componentResourceManager.GetString("ComboBox10.Items92"),
(object) componentResourceManager.GetString("ComboBox10.Items93"),
(object) componentResourceManager.GetString("ComboBox10.Items94"),
(object) componentResourceManager.GetString("ComboBox10.Items95"),
(object) componentResourceManager.GetString("ComboBox10.Items96"),
(object) componentResourceManager.GetString("ComboBox10.Items97"),
(object) componentResourceManager.GetString("ComboBox10.Items98"),
(object) componentResourceManager.GetString("ComboBox10.Items99"),
(object) componentResourceManager.GetString("ComboBox10.Items100"),
(object) componentResourceManager.GetString("ComboBox10.Items101"),
(object) componentResourceManager.GetString("ComboBox10.Items102"),
(object) componentResourceManager.GetString("ComboBox10.Items103"),
(object) componentResourceManager.GetString("ComboBox10.Items104"),
(object) componentResourceManager.GetString("ComboBox10.Items105"),
(object) componentResourceManager.GetString("ComboBox10.Items106"),
(object) componentResourceManager.GetString("ComboBox10.Items107"),
(object) componentResourceManager.GetString("ComboBox10.Items108"),
(object) componentResourceManager.GetString("ComboBox10.Items109"),
(object) componentResourceManager.GetString("ComboBox10.Items110"),
(object) componentResourceManager.GetString("ComboBox10.Items111"),
(object) componentResourceManager.GetString("ComboBox10.Items112"),
(object) componentResourceManager.GetString("ComboBox10.Items113"),
(object) componentResourceManager.GetString("ComboBox10.Items114"),
(object) componentResourceManager.GetString("ComboBox10.Items115"),
(object) componentResourceManager.GetString("ComboBox10.Items116"),
(object) componentResourceManager.GetString("ComboBox10.Items117"),
(object) componentResourceManager.GetString("ComboBox10.Items118"),
(object) componentResourceManager.GetString("ComboBox10.Items119"),
(object) componentResourceManager.GetString("ComboBox10.Items120"),
(object) componentResourceManager.GetString("ComboBox10.Items121"),
(object) componentResourceManager.GetString("ComboBox10.Items122"),
(object) componentResourceManager.GetString("ComboBox10.Items123"),
(object) componentResourceManager.GetString("ComboBox10.Items124"),
(object) componentResourceManager.GetString("ComboBox10.Items125"),
(object) componentResourceManager.GetString("ComboBox10.Items126"),
(object) componentResourceManager.GetString("ComboBox10.Items127"),
(object) componentResourceManager.GetString("ComboBox10.Items128"),
(object) componentResourceManager.GetString("ComboBox10.Items129"),
(object) componentResourceManager.GetString("ComboBox10.Items130"),
(object) componentResourceManager.GetString("ComboBox10.Items131"),
(object) componentResourceManager.GetString("ComboBox10.Items132"),
(object) componentResourceManager.GetString("ComboBox10.Items133"),
(object) componentResourceManager.GetString("ComboBox10.Items134"),
(object) componentResourceManager.GetString("ComboBox10.Items135"),
(object) componentResourceManager.GetString("ComboBox10.Items136"),
(object) componentResourceManager.GetString("ComboBox10.Items137"),
(object) componentResourceManager.GetString("ComboBox10.Items138"),
(object) componentResourceManager.GetString("ComboBox10.Items139"),
(object) componentResourceManager.GetString("ComboBox10.Items140"),
(object) componentResourceManager.GetString("ComboBox10.Items141"),
(object) componentResourceManager.GetString("ComboBox10.Items142"),
(object) componentResourceManager.GetString("ComboBox10.Items143"),
(object) componentResourceManager.GetString("ComboBox10.Items144"),
(object) componentResourceManager.GetString("ComboBox10.Items145"),
(object) componentResourceManager.GetString("ComboBox10.Items146"),
(object) componentResourceManager.GetString("ComboBox10.Items147"),
(object) componentResourceManager.GetString("ComboBox10.Items148"),
(object) componentResourceManager.GetString("ComboBox10.Items149"),
(object) componentResourceManager.GetString("ComboBox10.Items150"),
(object) componentResourceManager.GetString("ComboBox10.Items151"),
(object) componentResourceManager.GetString("ComboBox10.Items152"),
(object) componentResourceManager.GetString("ComboBox10.Items153"),
(object) componentResourceManager.GetString("ComboBox10.Items154"),
(object) componentResourceManager.GetString("ComboBox10.Items155"),
(object) componentResourceManager.GetString("ComboBox10.Items156"),
(object) componentResourceManager.GetString("ComboBox10.Items157"),
(object) componentResourceManager.GetString("ComboBox10.Items158"),
(object) componentResourceManager.GetString("ComboBox10.Items159"),
(object) componentResourceManager.GetString("ComboBox10.Items160"),
(object) componentResourceManager.GetString("ComboBox10.Items161"),
(object) componentResourceManager.GetString("ComboBox10.Items162"),
(object) componentResourceManager.GetString("ComboBox10.Items163"),
(object) componentResourceManager.GetString("ComboBox10.Items164"),
(object) componentResourceManager.GetString("ComboBox10.Items165"),
(object) componentResourceManager.GetString("ComboBox10.Items166"),
(object) componentResourceManager.GetString("ComboBox10.Items167"),
(object) componentResourceManager.GetString("ComboBox10.Items168"),
(object) componentResourceManager.GetString("ComboBox10.Items169"),
(object) componentResourceManager.GetString("ComboBox10.Items170"),
(object) componentResourceManager.GetString("ComboBox10.Items171"),
(object) componentResourceManager.GetString("ComboBox10.Items172"),
(object) componentResourceManager.GetString("ComboBox10.Items173"),
(object) componentResourceManager.GetString("ComboBox10.Items174"),
(object) componentResourceManager.GetString("ComboBox10.Items175"),
(object) componentResourceManager.GetString("ComboBox10.Items176"),
(object) componentResourceManager.GetString("ComboBox10.Items177"),
(object) componentResourceManager.GetString("ComboBox10.Items178"),
(object) componentResourceManager.GetString("ComboBox10.Items179"),
(object) componentResourceManager.GetString("ComboBox10.Items180")
});
this.ComboBox10.Name = "ComboBox10";
this.ComboBox8.AccessibleDescription = (string) null;
this.ComboBox8.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.ComboBox8, "ComboBox8");
this.ComboBox8.BackgroundImage = (Image) null;
this.ComboBox8.DropDownStyle = ComboBoxStyle.DropDownList;
this.ComboBox8.Font = (Font) null;
this.ComboBox8.FormattingEnabled = true;
this.ComboBox8.Items.AddRange(new object[7]
{
(object) componentResourceManager.GetString("ComboBox8.Items"),
(object) componentResourceManager.GetString("ComboBox8.Items1"),
(object) componentResourceManager.GetString("ComboBox8.Items2"),
(object) componentResourceManager.GetString("ComboBox8.Items3"),
(object) componentResourceManager.GetString("ComboBox8.Items4"),
(object) componentResourceManager.GetString("ComboBox8.Items5"),
(object) componentResourceManager.GetString("ComboBox8.Items6")
});
this.ComboBox8.Name = "ComboBox8";
this.Label14.AccessibleDescription = (string) null;
this.Label14.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Label14, "Label14");
this.Label14.Font = (Font) null;
this.Label14.Name = "Label14";
this.Label12.AccessibleDescription = (string) null;
this.Label12.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Label12, "Label12");
this.Label12.Font = (Font) null;
this.Label12.Name = "Label12";
this.ComboBox9.AccessibleDescription = (string) null;
this.ComboBox9.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.ComboBox9, "ComboBox9");
this.ComboBox9.BackgroundImage = (Image) null;
this.ComboBox9.DropDownStyle = ComboBoxStyle.DropDownList;
this.ComboBox9.Font = (Font) null;
this.ComboBox9.FormattingEnabled = true;
this.ComboBox9.Items.AddRange(new object[3]
{
(object) componentResourceManager.GetString("ComboBox9.Items"),
(object) componentResourceManager.GetString("ComboBox9.Items1"),
(object) componentResourceManager.GetString("ComboBox9.Items2")
});
this.ComboBox9.Name = "ComboBox9";
this.Label13.AccessibleDescription = (string) null;
this.Label13.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Label13, "Label13");
this.Label13.Font = (Font) null;
this.Label13.Name = "Label13";
this.ComboBox7.AccessibleDescription = (string) null;
this.ComboBox7.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.ComboBox7, "ComboBox7");
this.ComboBox7.BackgroundImage = (Image) null;
this.ComboBox7.DropDownStyle = ComboBoxStyle.DropDownList;
this.ComboBox7.Font = (Font) null;
this.ComboBox7.FormattingEnabled = true;
this.ComboBox7.Items.AddRange(new object[16]
{
(object) componentResourceManager.GetString("ComboBox7.Items"),
(object) componentResourceManager.GetString("ComboBox7.Items1"),
(object) componentResourceManager.GetString("ComboBox7.Items2"),
(object) componentResourceManager.GetString("ComboBox7.Items3"),
(object) componentResourceManager.GetString("ComboBox7.Items4"),
(object) componentResourceManager.GetString("ComboBox7.Items5"),
(object) componentResourceManager.GetString("ComboBox7.Items6"),
(object) componentResourceManager.GetString("ComboBox7.Items7"),
(object) componentResourceManager.GetString("ComboBox7.Items8"),
(object) componentResourceManager.GetString("ComboBox7.Items9"),
(object) componentResourceManager.GetString("ComboBox7.Items10"),
(object) componentResourceManager.GetString("ComboBox7.Items11"),
(object) componentResourceManager.GetString("ComboBox7.Items12"),
(object) componentResourceManager.GetString("ComboBox7.Items13"),
(object) componentResourceManager.GetString("ComboBox7.Items14"),
(object) componentResourceManager.GetString("ComboBox7.Items15")
});
this.ComboBox7.Name = "ComboBox7";
this.Label11.AccessibleDescription = (string) null;
this.Label11.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Label11, "Label11");
this.Label11.Font = (Font) null;
this.Label11.Name = "Label11";
this.ComboBoxDTMF信令.AccessibleDescription = (string) null;
this.ComboBoxDTMF信令.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.ComboBoxDTMF信令, "ComboBoxDTMF信令");
this.ComboBoxDTMF信令.BackgroundImage = (Image) null;
this.ComboBoxDTMF信令.DropDownStyle = ComboBoxStyle.DropDownList;
this.ComboBoxDTMF信令.Font = (Font) null;
this.ComboBoxDTMF信令.FormattingEnabled = true;
this.ComboBoxDTMF信令.Items.AddRange(new object[2]
{
(object) componentResourceManager.GetString("ComboBoxDTMF信令.Items"),
(object) componentResourceManager.GetString("ComboBoxDTMF信令.Items1")
});
this.ComboBoxDTMF信令.Name = "ComboBoxDTMF信令";
this.Label10.AccessibleDescription = (string) null;
this.Label10.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Label10, "Label10");
this.Label10.Font = (Font) null;
this.Label10.Name = "Label10";
this.TabControl1.AccessibleDescription = (string) null;
this.TabControl1.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.TabControl1, "TabControl1");
this.TabControl1.BackgroundImage = (Image) null;
this.TabControl1.Controls.Add((Control) this.TabPage1);
this.TabControl1.Controls.Add((Control) this.TabPage2);
this.TabControl1.Controls.Add((Control) this.TabPage3);
this.TabControl1.Font = (Font) null;
this.TabControl1.Name = "TabControl1";
this.TabControl1.SelectedIndex = 0;
this.TabPage1.AccessibleDescription = (string) null;
this.TabPage1.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.TabPage1, "TabPage1");
this.TabPage1.BackgroundImage = (Image) null;
this.TabPage1.Controls.Add((Control) this.CheckBoxDTMF按键锁定);
this.TabPage1.Controls.Add((Control) this.CheckBoxDTMF自动发码);
this.TabPage1.Controls.Add((Control) this.GroupBox1);
this.TabPage1.Controls.Add((Control) this.Label1);
this.TabPage1.Controls.Add((Control) this.ComboBox双音多频速率);
this.TabPage1.Controls.Add((Control) this.Label2);
this.TabPage1.Controls.Add((Control) this.ComboBox首位数码时间);
this.TabPage1.Controls.Add((Control) this.CheckBox侧音);
this.TabPage1.Controls.Add((Control) this.Label3);
this.TabPage1.Controls.Add((Control) this.ComboBoxD键设定);
this.TabPage1.Controls.Add((Control) this.ComboBox首位数码延迟时间);
this.TabPage1.Controls.Add((Control) this.Label5);
this.TabPage1.Controls.Add((Control) this.Label4);
this.TabPage1.Controls.Add((Control) this.ComboBoxEF音);
this.TabPage1.Font = (Font) null;
this.TabPage1.Name = "TabPage1";
this.TabPage1.UseVisualStyleBackColor = true;
this.CheckBoxDTMF按键锁定.AccessibleDescription = (string) null;
this.CheckBoxDTMF按键锁定.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.CheckBoxDTMF按键锁定, "CheckBoxDTMF按键锁定");
this.CheckBoxDTMF按键锁定.BackgroundImage = (Image) null;
this.CheckBoxDTMF按键锁定.Font = (Font) null;
this.CheckBoxDTMF按键锁定.Name = "CheckBoxDTMF按键锁定";
this.CheckBoxDTMF按键锁定.UseVisualStyleBackColor = true;
this.TabPage2.AccessibleDescription = (string) null;
this.TabPage2.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.TabPage2, "TabPage2");
this.TabPage2.BackgroundImage = (Image) null;
this.TabPage2.Controls.Add((Control) this.GroupBox2);
this.TabPage2.Controls.Add((Control) this.ComboBoxDTMF信令);
this.TabPage2.Controls.Add((Control) this.Label10);
this.TabPage2.Controls.Add((Control) this.Label11);
this.TabPage2.Controls.Add((Control) this.ComboBox10);
this.TabPage2.Controls.Add((Control) this.ComboBox7);
this.TabPage2.Controls.Add((Control) this.ComboBox8);
this.TabPage2.Controls.Add((Control) this.Label13);
this.TabPage2.Controls.Add((Control) this.Label14);
this.TabPage2.Controls.Add((Control) this.ComboBox9);
this.TabPage2.Controls.Add((Control) this.Label12);
this.TabPage2.Font = (Font) null;
this.TabPage2.Name = "TabPage2";
this.TabPage2.UseVisualStyleBackColor = true;
this.TabPage3.AccessibleDescription = (string) null;
this.TabPage3.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.TabPage3, "TabPage3");
this.TabPage3.BackgroundImage = (Image) null;
this.TabPage3.Controls.Add((Control) this.DataGridView1);
this.TabPage3.Font = (Font) null;
this.TabPage3.Name = "TabPage3";
this.TabPage3.UseVisualStyleBackColor = true;
this.Button3.AccessibleDescription = (string) null;
this.Button3.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Button3, "Button3");
this.Button3.BackgroundImage = (Image) null;
this.Button3.Font = (Font) null;
this.Button3.Name = "Button3";
this.Button3.UseVisualStyleBackColor = true;
this.Button2.AccessibleDescription = (string) null;
this.Button2.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Button2, "Button2");
this.Button2.BackgroundImage = (Image) null;
this.Button2.Font = (Font) null;
this.Button2.Name = "Button2";
this.Button2.UseVisualStyleBackColor = true;
this.Button1.AccessibleDescription = (string) null;
this.Button1.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this.Button1, "Button1");
this.Button1.BackgroundImage = (Image) null;
this.Button1.Font = (Font) null;
this.Button1.Name = "Button1";
this.Button1.UseVisualStyleBackColor = true;
this.AccessibleDescription = (string) null;
this.AccessibleName = (string) null;
componentResourceManager.ApplyResources((object) this, "$this");
this.AutoScaleMode = AutoScaleMode.Font;
this.BackgroundImage = (Image) null;
this.Controls.Add((Control) this.Button3);
this.Controls.Add((Control) this.Button2);
this.Controls.Add((Control) this.Button1);
this.Controls.Add((Control) this.TabControl1);
this.Font = (Font) null;
this.Name = nameof (DtmfForm);
((ISupportInitialize) this.DataGridView1).EndInit();
this.GroupBox1.ResumeLayout(false);
this.GroupBox1.PerformLayout();
this.GroupBox2.ResumeLayout(false);
this.GroupBox2.PerformLayout();
this.TabControl1.ResumeLayout(false);
this.TabPage1.ResumeLayout(false);
this.TabPage1.PerformLayout();
this.TabPage2.ResumeLayout(false);
this.TabPage2.PerformLayout();
this.TabPage3.ResumeLayout(false);
this.ResumeLayout(false);
}
internal virtual DataGridView DataGridView1
{
[DebuggerNonUserCode] get => this._DataGridView1;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._DataGridView1 != null)
{
this._DataGridView1.EditingControlShowing -= new DataGridViewEditingControlShowingEventHandler(this.DataGridView1_EditingControlShowing);
this._DataGridView1.CellEndEdit -= new DataGridViewCellEventHandler(this.DataGridView1_CellEndEdit);
this._DataGridView1.RowPostPaint -= new DataGridViewRowPostPaintEventHandler(this.DataGridView1_RowPostPaint);
}
this._DataGridView1 = value;
if (this._DataGridView1 == null)
return;
this._DataGridView1.EditingControlShowing += new DataGridViewEditingControlShowingEventHandler(this.DataGridView1_EditingControlShowing);
this._DataGridView1.CellEndEdit += new DataGridViewCellEventHandler(this.DataGridView1_CellEndEdit);
this._DataGridView1.RowPostPaint += new DataGridViewRowPostPaintEventHandler(this.DataGridView1_RowPostPaint);
}
}
internal virtual GroupBox GroupBox1
{
[DebuggerNonUserCode] get => this._GroupBox1;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._GroupBox1 = value;
}
}
internal virtual ComboBox ComboBox双音多频速率
{
[DebuggerNonUserCode] get => this._ComboBox双音多频速率;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ComboBox双音多频速率 = value;
}
}
internal virtual Label Label1
{
[DebuggerNonUserCode] get => this._Label1;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label1 = value;
}
internal virtual ComboBox ComboBox首位数码时间
{
[DebuggerNonUserCode] get => this._ComboBox首位数码时间;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ComboBox首位数码时间 = value;
}
}
internal virtual Label Label2
{
[DebuggerNonUserCode] get => this._Label2;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label2 = value;
}
internal virtual ComboBox ComboBoxD键设定
{
[DebuggerNonUserCode] get => this._ComboBoxD键设定;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ComboBoxD键设定 = value;
}
}
internal virtual Label Label5
{
[DebuggerNonUserCode] get => this._Label5;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label5 = value;
}
internal virtual ComboBox ComboBoxEF音
{
[DebuggerNonUserCode] get => this._ComboBoxEF音;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ComboBoxEF音 = value;
}
}
internal virtual Label Label4
{
[DebuggerNonUserCode] get => this._Label4;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label4 = value;
}
internal virtual ComboBox ComboBox首位数码延迟时间
{
[DebuggerNonUserCode] get => this._ComboBox首位数码延迟时间;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ComboBox首位数码延迟时间 = value;
}
}
internal virtual Label Label3
{
[DebuggerNonUserCode] get => this._Label3;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label3 = value;
}
internal virtual TextBox TextBox1
{
[DebuggerNonUserCode] get => this._TextBox1;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._TextBox1 != null)
{
this._TextBox1.LostFocus -= new EventHandler(this.TextBox1_LostFocus);
this._TextBox1.KeyPress -= new KeyPressEventHandler(this.TextBox1_KeyPress);
}
this._TextBox1 = value;
if (this._TextBox1 == null)
return;
this._TextBox1.LostFocus += new EventHandler(this.TextBox1_LostFocus);
this._TextBox1.KeyPress += new KeyPressEventHandler(this.TextBox1_KeyPress);
}
}
internal virtual Label Label6
{
[DebuggerNonUserCode] get => this._Label6;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label6 = value;
}
internal virtual CheckBox CheckBox侧音
{
[DebuggerNonUserCode] get => this._CheckBox侧音;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBox侧音 = value;
}
}
internal virtual TextBox TextBox2
{
[DebuggerNonUserCode] get => this._TextBox2;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._TextBox2 != null)
{
this._TextBox2.TextChanged -= new EventHandler(this.TextBox2_TextChanged);
this._TextBox2.KeyPress -= new KeyPressEventHandler(this.TextBox2_KeyPress);
}
this._TextBox2 = value;
if (this._TextBox2 == null)
return;
this._TextBox2.TextChanged += new EventHandler(this.TextBox2_TextChanged);
this._TextBox2.KeyPress += new KeyPressEventHandler(this.TextBox2_KeyPress);
}
}
internal virtual Label Label7
{
[DebuggerNonUserCode] get => this._Label7;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label7 = value;
}
internal virtual GroupBox GroupBox2
{
[DebuggerNonUserCode] get => this._GroupBox2;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._GroupBox2 = value;
}
}
internal virtual TextBox TextBox4
{
[DebuggerNonUserCode] get => this._TextBox4;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._TextBox4 != null)
{
this._TextBox4.KeyPress -= new KeyPressEventHandler(this.TextBox4_KeyPress);
this._TextBox4.TextChanged -= new EventHandler(this.TextBox4_TextChanged);
}
this._TextBox4 = value;
if (this._TextBox4 == null)
return;
this._TextBox4.KeyPress += new KeyPressEventHandler(this.TextBox4_KeyPress);
this._TextBox4.TextChanged += new EventHandler(this.TextBox4_TextChanged);
}
}
internal virtual Label Label9
{
[DebuggerNonUserCode] get => this._Label9;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label9 = value;
}
internal virtual Label Label8
{
[DebuggerNonUserCode] get => this._Label8;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label8 = value;
}
internal virtual TextBox TextBox3
{
[DebuggerNonUserCode] get => this._TextBox3;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._TextBox3 != null)
{
this._TextBox3.KeyPress -= new KeyPressEventHandler(this.TextBox3_KeyPress);
this._TextBox3.TextChanged -= new EventHandler(this.TextBox3_TextChanged);
}
this._TextBox3 = value;
if (this._TextBox3 == null)
return;
this._TextBox3.KeyPress += new KeyPressEventHandler(this.TextBox3_KeyPress);
this._TextBox3.TextChanged += new EventHandler(this.TextBox3_TextChanged);
}
}
internal virtual ComboBox ComboBox8
{
[DebuggerNonUserCode] get => this._ComboBox8;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ComboBox8 = value;
}
}
internal virtual Label Label12
{
[DebuggerNonUserCode] get => this._Label12;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label12 = value;
}
}
internal virtual ComboBox ComboBox7
{
[DebuggerNonUserCode] get => this._ComboBox7;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ComboBox7 = value;
}
}
internal virtual Label Label11
{
[DebuggerNonUserCode] get => this._Label11;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label11 = value;
}
}
internal virtual ComboBox ComboBoxDTMF信令
{
[DebuggerNonUserCode] get => this._ComboBoxDTMF信令;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ComboBoxDTMF信令 = value;
}
}
internal virtual Label Label10
{
[DebuggerNonUserCode] get => this._Label10;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label10 = value;
}
}
internal virtual CheckBox CheckBoxDTMF自动发码
{
[DebuggerNonUserCode] get => this._CheckBoxDTMF自动发码;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBoxDTMF自动发码 = value;
}
}
internal virtual ComboBox ComboBox10
{
[DebuggerNonUserCode] get => this._ComboBox10;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ComboBox10 = value;
}
}
internal virtual Label Label14
{
[DebuggerNonUserCode] get => this._Label14;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label14 = value;
}
}
internal virtual ComboBox ComboBox9
{
[DebuggerNonUserCode] get => this._ComboBox9;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ComboBox9 = value;
}
}
internal virtual Label Label13
{
[DebuggerNonUserCode] get => this._Label13;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label13 = value;
}
}
internal virtual TabControl TabControl1
{
[DebuggerNonUserCode] get => this._TabControl1;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._TabControl1 = value;
}
}
internal virtual TabPage TabPage1
{
[DebuggerNonUserCode] get => this._TabPage1;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._TabPage1 = value;
}
}
internal virtual CheckBox CheckBoxDTMF按键锁定
{
[DebuggerNonUserCode] get => this._CheckBoxDTMF按键锁定;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBoxDTMF按键锁定 = value;
}
}
internal virtual TabPage TabPage2
{
[DebuggerNonUserCode] get => this._TabPage2;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._TabPage2 = value;
}
}
internal virtual TabPage TabPage3
{
[DebuggerNonUserCode] get => this._TabPage3;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._TabPage3 = value;
}
}
internal virtual Button Button3
{
[DebuggerNonUserCode] get => this._Button3;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Button3 = value;
}
}
internal virtual Button Button2
{
[DebuggerNonUserCode] get => this._Button2;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Button2 = value;
}
}
internal virtual Button Button1
{
[DebuggerNonUserCode] get => this._Button1;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._Button1 != null)
this._Button1.Click -= new EventHandler(this.Button1_Click);
this._Button1 = value;
if (this._Button1 == null)
return;
this._Button1.Click += new EventHandler(this.Button1_Click);
}
}
internal virtual DataGridViewTextBoxColumn Column0
{
[DebuggerNonUserCode] get => this._Column0;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Column0 = value;
}
}
public void DtmfForm_Deactivate(object sender, EventArgs e)
{
this.DataGridView1.EndEdit();
int num = 3888;
publicva.EEPROM_Byte[checked (num + 0)] = checked ((byte) ((this.ComboBox双音多频速率.SelectedIndex + 1) * 5));
publicva.EEPROM_Byte[checked (num + 1)] = checked ((byte) (this.ComboBox首位数码时间.SelectedIndex * 10));
publicva.EEPROM_Byte[checked (num + 2)] = checked ((byte) ((this.ComboBox首位数码延迟时间.SelectedIndex + 1) * 10));
publicva.EEPROM_Byte[checked (num + 3)] = checked ((byte) unchecked (Conversions.ToLong(this.ComboBoxEF音.Text) / 10L));
publicva.EEPROM_Byte[checked (num + 4)] = checked ((byte) this.ComboBoxD键设定.SelectedIndex);
publicva.EEPROM_Byte[checked (num + 5)] = checked ((byte) this.ComboBox7.SelectedIndex);
publicva.EEPROM_Byte[checked (num + 6)] = checked ((byte) this.ComboBox8.SelectedIndex);
MyProject.Forms.MDIParent1.GetControl_U8_Data((Control) this.CheckBox侧音, checked (num + 7), publicva.Bit7, 0);
MyProject.Forms.MDIParent1.GetControl_U8_Data((Control) this.ComboBoxDTMF信令, checked (num + 7), publicva.Bit6, 6);
MyProject.Forms.MDIParent1.GetControl_U8_Data((Control) this.CheckBoxDTMF按键锁定, checked (num + 7), publicva.Bit5, 0);
MyProject.Forms.MDIParent1.GetControl_U8_Data((Control) this.CheckBoxDTMF自动发码, checked (num + 7), publicva.Bit3, 0);
MyProject.Forms.MDIParent1.GetControl_U8_Data((Control) this.ComboBox9, checked (num + 8), publicva.AllBit, 0);
MyProject.Forms.MDIParent1.GetControl_U8_Data((Control) this.ComboBox10, checked (num + 9), publicva.AllBit, 0);
}
private void DtmfForm_FormClosing(object sender, FormClosingEventArgs e)
{
MyProject.Forms.MDIParent1.DToolStripMenuItem.Checked = false;
}
public void DtmfForm_Load(object sender, EventArgs e)
{
MyProject.Forms.MDIParent1.DToolStripMenuItem.Checked = true;
this.DataGridView1.RowCount = 16;
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
this.DataGridView1.TopLeftHeaderCell.Value = (object) "序号";
else
this.DataGridView1.TopLeftHeaderCell.Value = (object) "CH";
int num1 = 3888;
this.ComboBox双音多频速率.SelectedIndex = checked (unchecked ((int) publicva.EEPROM_Byte[checked (num1 + 0)] / 5) - 1);
this.ComboBox首位数码时间.SelectedIndex = (int) publicva.EEPROM_Byte[checked (num1 + 1)] / 10;
this.ComboBox首位数码延迟时间.SelectedIndex = checked (unchecked ((int) publicva.EEPROM_Byte[checked (num1 + 2)] / 10) - 1);
this.ComboBoxEF音.Text = Conversions.ToString(checked ((int) publicva.EEPROM_Byte[num1 + 3] * 10));
this.ComboBoxD键设定.SelectedIndex = (int) publicva.EEPROM_Byte[checked (num1 + 4)];
this.ComboBox7.SelectedIndex = (int) publicva.EEPROM_Byte[checked (num1 + 5)];
this.ComboBox8.SelectedIndex = (int) publicva.EEPROM_Byte[checked (num1 + 6)];
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) this.CheckBox侧音, checked (num1 + 7), publicva.Bit7, 0);
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) this.ComboBoxDTMF信令, checked (num1 + 7), publicva.Bit6, 6);
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) this.CheckBoxDTMF按键锁定, checked (num1 + 7), publicva.Bit5, 0);
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) this.CheckBoxDTMF自动发码, checked (num1 + 7), publicva.Bit3, 0);
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) this.ComboBox9, checked (num1 + 8), publicva.AllBit, 0);
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) this.ComboBox10, checked (num1 + 9), publicva.AllBit, 0);
int address1 = 4032;
this.TextBox1.Text = Conversions.ToString(this.GetDTMF_Text(address1, (int) publicva.EEPROM_Byte[checked (address1 + 12)]));
int address2 = 4048;
this.TextBox2.Text = Conversions.ToString(this.GetDTMF_Text(address2, (int) publicva.EEPROM_Byte[checked (address2 + 12)]));
int address3 = 4064;
this.TextBox3.Text = Conversions.ToString(this.GetDTMF_Text(address3, (int) publicva.EEPROM_Byte[checked (address3 + 12)]));
int address4 = 4080;
this.TextBox4.Text = Conversions.ToString(this.GetDTMF_Text(address4, (int) publicva.EEPROM_Byte[checked (address4 + 12)]));
int num2 = 4096;
int rowIndex = 0;
do
{
this.DataGridView1["Column0", rowIndex].Value = RuntimeHelpers.GetObjectValue(this.GetDTMF_Text(checked (num2 + rowIndex * 16), (int) publicva.EEPROM_Byte[checked (num2 + rowIndex * 16 + 12)]));
checked { ++rowIndex; }
}
while (rowIndex <= 15);
}
private void DataGridView1_CellEndEdit(object sender, DataGridViewCellEventArgs e)
{
int rowIndex = this.DataGridView1.CurrentCell.RowIndex;
int num = 4096;
this.GetDTMF_Code(checked (num + rowIndex * 16), Conversions.ToString(this.DataGridView1["Column0", rowIndex].Value));
try
{
publicva.EEPROM_Byte[checked (num + rowIndex * 16 + 12)] = checked ((byte) this.DataGridView1["Column0", rowIndex].Value.ToString().Length);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
publicva.EEPROM_Byte[checked (num + rowIndex * 16 + 12)] = (byte) 0;
ProjectData.ClearProjectError();
}
}
private void DataGridView1_EditingControlShowing(
object sender,
DataGridViewEditingControlShowingEventArgs e)
{
if (this.DataGridView1.CurrentCell.ColumnIndex != this.DataGridView1["Column0", 0].ColumnIndex)
return;
DataGridViewTextBoxEditingControl boxEditingControl = new DataGridViewTextBoxEditingControl();
boxEditingControl = (DataGridViewTextBoxEditingControl) e.Control;
e.Control.KeyPress += new KeyPressEventHandler(this.Cells_KeyPress);
}
private void Cells_KeyPress(object sender, KeyPressEventArgs e)
{
if (char.IsDigit(e.KeyChar) | Operators.CompareString(Conversions.ToString(e.KeyChar), "#", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "*", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "A", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "B", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "C", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "D", false) == 0 | e.KeyChar == '\b' | Operators.CompareString(Conversions.ToString(e.KeyChar), "a", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "b", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "c", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "d", false) == 0)
{
if (char.IsLower(e.KeyChar))
e.KeyChar = char.ToUpper(e.KeyChar);
e.Handled = false;
}
else
e.Handled = true;
}
private void DataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
{
Brush brush = (Brush) new SolidBrush(this.DataGridView1.RowHeadersDefaultCellStyle.ForeColor);
e.Graphics.DrawString(checked (e.RowIndex + 1).ToString(), this.DataGridView1.DefaultCellStyle.Font, brush, (float) checked (e.RowBounds.Location.X + 35), (float) checked (e.RowBounds.Location.Y + 5));
}
public object GetDTMF_Text(int address, int Sum)
{
string str1 = "";
int num = 0;
do
{
string str2 = BitConverter.ToString(publicva.EEPROM_Byte, checked (num + address), 1).Replace("E", "*").Replace("F", "#");
str1 += str2;
checked { ++num; }
}
while (num <= 23);
return (object) Strings.RTrim(str1.Substring(0, Sum));
}
public void GetDTMF_Code(int address, string text)
{
text = text.PadRight(24, 'F');
text = text.Replace("*", "E");
text = text.Replace("#", "F");
int num = 0;
do
{
string str = text.Substring(checked (num * 2), 2);
publicva.EEPROM_Byte[checked (address + num)] = Conversions.ToByte("&h" + str);
checked { ++num; }
}
while (num <= 11);
}
private void Button1_Click(object sender, EventArgs e) => this.Close();
private void TextBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (char.IsDigit(e.KeyChar) | Operators.CompareString(Conversions.ToString(e.KeyChar), "#", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "*", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "A", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "B", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "C", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "D", false) == 0 | e.KeyChar == '\b' | Operators.CompareString(Conversions.ToString(e.KeyChar), "a", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "b", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "c", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "d", false) == 0)
{
if (char.IsLower(e.KeyChar))
e.KeyChar = char.ToUpper(e.KeyChar);
e.Handled = false;
}
else
e.Handled = true;
}
private void TextBox1_LostFocus(object sender, EventArgs e)
{
int address = 4032;
this.GetDTMF_Code(address, this.TextBox1.Text);
publicva.EEPROM_Byte[checked (address + 12)] = checked ((byte) this.TextBox1.Text.ToString().Length);
}
private void TextBox2_KeyPress(object sender, KeyPressEventArgs e)
{
if (char.IsDigit(e.KeyChar) | Operators.CompareString(Conversions.ToString(e.KeyChar), "#", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "*", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "A", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "B", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "C", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "D", false) == 0 | e.KeyChar == '\b' | Operators.CompareString(Conversions.ToString(e.KeyChar), "a", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "b", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "c", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "d", false) == 0)
{
if (char.IsLower(e.KeyChar))
e.KeyChar = char.ToUpper(e.KeyChar);
e.Handled = false;
}
else
e.Handled = true;
}
private void TextBox2_TextChanged(object sender, EventArgs e)
{
int address = 4048;
this.GetDTMF_Code(address, this.TextBox2.Text);
publicva.EEPROM_Byte[checked (address + 12)] = checked ((byte) this.TextBox2.Text.ToString().Length);
}
private void TextBox3_KeyPress(object sender, KeyPressEventArgs e)
{
if (char.IsDigit(e.KeyChar) | Operators.CompareString(Conversions.ToString(e.KeyChar), "#", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "*", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "A", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "B", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "C", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "D", false) == 0 | e.KeyChar == '\b' | Operators.CompareString(Conversions.ToString(e.KeyChar), "a", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "b", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "c", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "d", false) == 0)
{
if (char.IsLower(e.KeyChar))
e.KeyChar = char.ToUpper(e.KeyChar);
e.Handled = false;
}
else
e.Handled = true;
}
private void TextBox3_TextChanged(object sender, EventArgs e)
{
int address = 4064;
this.GetDTMF_Code(address, this.TextBox3.Text);
publicva.EEPROM_Byte[checked (address + 12)] = checked ((byte) this.TextBox3.Text.ToString().Length);
}
private void TextBox4_KeyPress(object sender, KeyPressEventArgs e)
{
if (char.IsDigit(e.KeyChar) | Operators.CompareString(Conversions.ToString(e.KeyChar), "#", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "*", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "A", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "B", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "C", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "D", false) == 0 | e.KeyChar == '\b' | Operators.CompareString(Conversions.ToString(e.KeyChar), "a", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "b", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "c", false) == 0 | Operators.CompareString(Conversions.ToString(e.KeyChar), "d", false) == 0)
{
if (char.IsLower(e.KeyChar))
e.KeyChar = char.ToUpper(e.KeyChar);
e.Handled = false;
}
else
e.Handled = true;
}
private void TextBox4_TextChanged(object sender, EventArgs e)
{
int address = 4080;
this.GetDTMF_Code(address, this.TextBox4.Text);
publicva.EEPROM_Byte[checked (address + 12)] = checked ((byte) this.TextBox4.Text.ToString().Length);
}
}
}