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