1380 lines
73 KiB
C#
1380 lines
73 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: HPG_68D.RadioMsgForm
|
|
// 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 RadioMsgForm : Form
|
|
{
|
|
private static ArrayList __ENCList = new ArrayList();
|
|
private IContainer components;
|
|
[AccessedThroughProperty("TabControl1")]
|
|
private TabControl _TabControl1;
|
|
[AccessedThroughProperty("TabPage1")]
|
|
private TabPage _TabPage1;
|
|
[AccessedThroughProperty("TabPage2")]
|
|
private TabPage _TabPage2;
|
|
[AccessedThroughProperty("TabPage3")]
|
|
private TabPage _TabPage3;
|
|
[AccessedThroughProperty("GroupBox1")]
|
|
private GroupBox _GroupBox1;
|
|
[AccessedThroughProperty("DataGridView1")]
|
|
private DataGridView _DataGridView1;
|
|
[AccessedThroughProperty("ComboBoxFM工作模式")]
|
|
private ComboBox _ComboBoxFM工作模式;
|
|
[AccessedThroughProperty("Label1")]
|
|
private Label _Label1;
|
|
[AccessedThroughProperty("ComboBoxFM信道号")]
|
|
private ComboBox _ComboBoxFM信道号;
|
|
[AccessedThroughProperty("Label2")]
|
|
private Label _Label2;
|
|
[AccessedThroughProperty("ComboBoxAM信道号")]
|
|
private ComboBox _ComboBoxAM信道号;
|
|
[AccessedThroughProperty("Label3")]
|
|
private Label _Label3;
|
|
[AccessedThroughProperty("ComboBoxAM工作模式")]
|
|
private ComboBox _ComboBoxAM工作模式;
|
|
[AccessedThroughProperty("Label4")]
|
|
private Label _Label4;
|
|
[AccessedThroughProperty("GroupBox2")]
|
|
private GroupBox _GroupBox2;
|
|
[AccessedThroughProperty("DataGridView2")]
|
|
private DataGridView _DataGridView2;
|
|
[AccessedThroughProperty("ComboBoxAIR信道号")]
|
|
private ComboBox _ComboBoxAIR信道号;
|
|
[AccessedThroughProperty("Label5")]
|
|
private Label _Label5;
|
|
[AccessedThroughProperty("ComboBoxAIR工作模式")]
|
|
private ComboBox _ComboBoxAIR工作模式;
|
|
[AccessedThroughProperty("Label6")]
|
|
private Label _Label6;
|
|
[AccessedThroughProperty("GroupBox3")]
|
|
private GroupBox _GroupBox3;
|
|
[AccessedThroughProperty("DataGridView3")]
|
|
private DataGridView _DataGridView3;
|
|
[AccessedThroughProperty("Button3")]
|
|
private Button _Button3;
|
|
[AccessedThroughProperty("Button2")]
|
|
private Button _Button2;
|
|
[AccessedThroughProperty("Button1")]
|
|
private Button _Button1;
|
|
[AccessedThroughProperty("ColumnFMFreq")]
|
|
private DataGridViewTextBoxColumn _ColumnFMFreq;
|
|
[AccessedThroughProperty("ColumnAMFreq")]
|
|
private DataGridViewTextBoxColumn _ColumnAMFreq;
|
|
[AccessedThroughProperty("ColumnAIRFreq")]
|
|
private DataGridViewTextBoxColumn _ColumnAIRFreq;
|
|
|
|
[DebuggerNonUserCode]
|
|
static RadioMsgForm()
|
|
{
|
|
}
|
|
|
|
[DebuggerNonUserCode]
|
|
public RadioMsgForm()
|
|
{
|
|
this.Load += new EventHandler(this.RadioMsgForm_Load);
|
|
this.Deactivate += new EventHandler(this.RadioMsgForm_Deactivate);
|
|
this.FormClosing += new FormClosingEventHandler(this.RadioMsgForm_FormClosing);
|
|
RadioMsgForm.__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()
|
|
{
|
|
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (RadioMsgForm));
|
|
DataGridViewCellStyle gridViewCellStyle1 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle gridViewCellStyle2 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle gridViewCellStyle3 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle gridViewCellStyle4 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle gridViewCellStyle5 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle gridViewCellStyle6 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle gridViewCellStyle7 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle gridViewCellStyle8 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle gridViewCellStyle9 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle gridViewCellStyle10 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle gridViewCellStyle11 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle gridViewCellStyle12 = new DataGridViewCellStyle();
|
|
this.TabControl1 = new TabControl();
|
|
this.TabPage1 = new TabPage();
|
|
this.ComboBoxFM信道号 = new ComboBox();
|
|
this.Label2 = new Label();
|
|
this.ComboBoxFM工作模式 = new ComboBox();
|
|
this.Label1 = new Label();
|
|
this.GroupBox1 = new GroupBox();
|
|
this.DataGridView1 = new DataGridView();
|
|
this.TabPage2 = new TabPage();
|
|
this.ComboBoxAM信道号 = new ComboBox();
|
|
this.Label3 = new Label();
|
|
this.ComboBoxAM工作模式 = new ComboBox();
|
|
this.Label4 = new Label();
|
|
this.GroupBox2 = new GroupBox();
|
|
this.DataGridView2 = new DataGridView();
|
|
this.TabPage3 = new TabPage();
|
|
this.ComboBoxAIR信道号 = new ComboBox();
|
|
this.Label5 = new Label();
|
|
this.ComboBoxAIR工作模式 = new ComboBox();
|
|
this.Label6 = new Label();
|
|
this.GroupBox3 = new GroupBox();
|
|
this.DataGridView3 = new DataGridView();
|
|
this.Button3 = new Button();
|
|
this.Button2 = new Button();
|
|
this.Button1 = new Button();
|
|
this.ColumnFMFreq = new DataGridViewTextBoxColumn();
|
|
this.ColumnAMFreq = new DataGridViewTextBoxColumn();
|
|
this.ColumnAIRFreq = new DataGridViewTextBoxColumn();
|
|
this.TabControl1.SuspendLayout();
|
|
this.TabPage1.SuspendLayout();
|
|
this.GroupBox1.SuspendLayout();
|
|
((ISupportInitialize) this.DataGridView1).BeginInit();
|
|
this.TabPage2.SuspendLayout();
|
|
this.GroupBox2.SuspendLayout();
|
|
((ISupportInitialize) this.DataGridView2).BeginInit();
|
|
this.TabPage3.SuspendLayout();
|
|
this.GroupBox3.SuspendLayout();
|
|
((ISupportInitialize) this.DataGridView3).BeginInit();
|
|
this.SuspendLayout();
|
|
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.ComboBoxFM信道号);
|
|
this.TabPage1.Controls.Add((Control) this.Label2);
|
|
this.TabPage1.Controls.Add((Control) this.ComboBoxFM工作模式);
|
|
this.TabPage1.Controls.Add((Control) this.Label1);
|
|
this.TabPage1.Controls.Add((Control) this.GroupBox1);
|
|
this.TabPage1.Font = (Font) null;
|
|
this.TabPage1.Name = "TabPage1";
|
|
this.TabPage1.UseVisualStyleBackColor = true;
|
|
this.ComboBoxFM信道号.AccessibleDescription = (string) null;
|
|
this.ComboBoxFM信道号.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) this.ComboBoxFM信道号, "ComboBoxFM信道号");
|
|
this.ComboBoxFM信道号.BackgroundImage = (Image) null;
|
|
this.ComboBoxFM信道号.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
this.ComboBoxFM信道号.Font = (Font) null;
|
|
this.ComboBoxFM信道号.FormattingEnabled = true;
|
|
this.ComboBoxFM信道号.Items.AddRange(new object[32]
|
|
{
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items1"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items2"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items3"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items4"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items5"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items6"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items7"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items8"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items9"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items10"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items11"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items12"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items13"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items14"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items15"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items16"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items17"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items18"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items19"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items20"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items21"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items22"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items23"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items24"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items25"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items26"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items27"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items28"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items29"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items30"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM信道号.Items31")
|
|
});
|
|
this.ComboBoxFM信道号.Name = "ComboBoxFM信道号";
|
|
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.ComboBoxFM工作模式.AccessibleDescription = (string) null;
|
|
this.ComboBoxFM工作模式.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) this.ComboBoxFM工作模式, "ComboBoxFM工作模式");
|
|
this.ComboBoxFM工作模式.BackgroundImage = (Image) null;
|
|
this.ComboBoxFM工作模式.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
this.ComboBoxFM工作模式.Font = (Font) null;
|
|
this.ComboBoxFM工作模式.FormattingEnabled = true;
|
|
this.ComboBoxFM工作模式.Items.AddRange(new object[2]
|
|
{
|
|
(object) componentResourceManager.GetString("ComboBoxFM工作模式.Items"),
|
|
(object) componentResourceManager.GetString("ComboBoxFM工作模式.Items1")
|
|
});
|
|
this.ComboBoxFM工作模式.Name = "ComboBoxFM工作模式";
|
|
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.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.DataGridView1);
|
|
this.GroupBox1.Font = (Font) null;
|
|
this.GroupBox1.Name = "GroupBox1";
|
|
this.GroupBox1.TabStop = false;
|
|
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.ColumnFMFreq);
|
|
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.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.ComboBoxAM信道号);
|
|
this.TabPage2.Controls.Add((Control) this.Label3);
|
|
this.TabPage2.Controls.Add((Control) this.ComboBoxAM工作模式);
|
|
this.TabPage2.Controls.Add((Control) this.Label4);
|
|
this.TabPage2.Controls.Add((Control) this.GroupBox2);
|
|
this.TabPage2.Font = (Font) null;
|
|
this.TabPage2.Name = "TabPage2";
|
|
this.TabPage2.UseVisualStyleBackColor = true;
|
|
this.ComboBoxAM信道号.AccessibleDescription = (string) null;
|
|
this.ComboBoxAM信道号.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) this.ComboBoxAM信道号, "ComboBoxAM信道号");
|
|
this.ComboBoxAM信道号.BackgroundImage = (Image) null;
|
|
this.ComboBoxAM信道号.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
this.ComboBoxAM信道号.Font = (Font) null;
|
|
this.ComboBoxAM信道号.FormattingEnabled = true;
|
|
this.ComboBoxAM信道号.Items.AddRange(new object[64]
|
|
{
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items1"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items2"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items3"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items4"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items5"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items6"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items7"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items8"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items9"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items10"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items11"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items12"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items13"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items14"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items15"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items16"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items17"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items18"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items19"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items20"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items21"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items22"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items23"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items24"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items25"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items26"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items27"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items28"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items29"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items30"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items31"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items32"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items33"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items34"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items35"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items36"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items37"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items38"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items39"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items40"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items41"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items42"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items43"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items44"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items45"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items46"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items47"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items48"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items49"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items50"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items51"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items52"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items53"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items54"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items55"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items56"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items57"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items58"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items59"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items60"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items61"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items62"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM信道号.Items63")
|
|
});
|
|
this.ComboBoxAM信道号.Name = "ComboBoxAM信道号";
|
|
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.ComboBoxAM工作模式.AccessibleDescription = (string) null;
|
|
this.ComboBoxAM工作模式.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) this.ComboBoxAM工作模式, "ComboBoxAM工作模式");
|
|
this.ComboBoxAM工作模式.BackgroundImage = (Image) null;
|
|
this.ComboBoxAM工作模式.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
this.ComboBoxAM工作模式.Font = (Font) null;
|
|
this.ComboBoxAM工作模式.FormattingEnabled = true;
|
|
this.ComboBoxAM工作模式.Items.AddRange(new object[2]
|
|
{
|
|
(object) componentResourceManager.GetString("ComboBoxAM工作模式.Items"),
|
|
(object) componentResourceManager.GetString("ComboBoxAM工作模式.Items1")
|
|
});
|
|
this.ComboBoxAM工作模式.Name = "ComboBoxAM工作模式";
|
|
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.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.DataGridView2);
|
|
this.GroupBox2.Font = (Font) null;
|
|
this.GroupBox2.Name = "GroupBox2";
|
|
this.GroupBox2.TabStop = false;
|
|
this.DataGridView2.AccessibleDescription = (string) null;
|
|
this.DataGridView2.AccessibleName = (string) null;
|
|
this.DataGridView2.AllowUserToAddRows = false;
|
|
this.DataGridView2.AllowUserToDeleteRows = false;
|
|
this.DataGridView2.AllowUserToResizeColumns = false;
|
|
this.DataGridView2.AllowUserToResizeRows = false;
|
|
gridViewCellStyle5.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
this.DataGridView2.AlternatingRowsDefaultCellStyle = gridViewCellStyle5;
|
|
componentResourceManager.ApplyResources((object) this.DataGridView2, "DataGridView2");
|
|
this.DataGridView2.BackgroundImage = (Image) null;
|
|
gridViewCellStyle6.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
gridViewCellStyle6.BackColor = SystemColors.Control;
|
|
gridViewCellStyle6.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 134);
|
|
gridViewCellStyle6.ForeColor = SystemColors.WindowText;
|
|
gridViewCellStyle6.SelectionBackColor = SystemColors.Highlight;
|
|
gridViewCellStyle6.SelectionForeColor = SystemColors.HighlightText;
|
|
gridViewCellStyle6.WrapMode = DataGridViewTriState.True;
|
|
this.DataGridView2.ColumnHeadersDefaultCellStyle = gridViewCellStyle6;
|
|
this.DataGridView2.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.DataGridView2.Columns.AddRange((DataGridViewColumn) this.ColumnAMFreq);
|
|
this.DataGridView2.Font = (Font) null;
|
|
this.DataGridView2.Name = "DataGridView2";
|
|
gridViewCellStyle7.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
gridViewCellStyle7.BackColor = SystemColors.Control;
|
|
gridViewCellStyle7.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 134);
|
|
gridViewCellStyle7.ForeColor = SystemColors.WindowText;
|
|
gridViewCellStyle7.SelectionBackColor = SystemColors.Highlight;
|
|
gridViewCellStyle7.SelectionForeColor = SystemColors.HighlightText;
|
|
gridViewCellStyle7.WrapMode = DataGridViewTriState.True;
|
|
this.DataGridView2.RowHeadersDefaultCellStyle = gridViewCellStyle7;
|
|
this.DataGridView2.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
gridViewCellStyle8.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
this.DataGridView2.RowsDefaultCellStyle = gridViewCellStyle8;
|
|
this.DataGridView2.RowTemplate.Height = 23;
|
|
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.ComboBoxAIR信道号);
|
|
this.TabPage3.Controls.Add((Control) this.Label5);
|
|
this.TabPage3.Controls.Add((Control) this.ComboBoxAIR工作模式);
|
|
this.TabPage3.Controls.Add((Control) this.Label6);
|
|
this.TabPage3.Controls.Add((Control) this.GroupBox3);
|
|
this.TabPage3.Font = (Font) null;
|
|
this.TabPage3.Name = "TabPage3";
|
|
this.TabPage3.UseVisualStyleBackColor = true;
|
|
this.ComboBoxAIR信道号.AccessibleDescription = (string) null;
|
|
this.ComboBoxAIR信道号.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) this.ComboBoxAIR信道号, "ComboBoxAIR信道号");
|
|
this.ComboBoxAIR信道号.BackgroundImage = (Image) null;
|
|
this.ComboBoxAIR信道号.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
this.ComboBoxAIR信道号.Font = (Font) null;
|
|
this.ComboBoxAIR信道号.FormattingEnabled = true;
|
|
this.ComboBoxAIR信道号.Items.AddRange(new object[64]
|
|
{
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items1"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items2"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items3"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items4"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items5"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items6"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items7"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items8"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items9"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items10"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items11"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items12"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items13"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items14"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items15"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items16"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items17"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items18"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items19"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items20"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items21"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items22"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items23"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items24"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items25"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items26"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items27"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items28"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items29"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items30"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items31"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items32"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items33"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items34"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items35"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items36"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items37"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items38"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items39"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items40"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items41"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items42"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items43"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items44"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items45"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items46"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items47"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items48"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items49"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items50"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items51"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items52"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items53"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items54"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items55"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items56"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items57"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items58"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items59"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items60"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items61"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items62"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR信道号.Items63")
|
|
});
|
|
this.ComboBoxAIR信道号.Name = "ComboBoxAIR信道号";
|
|
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.ComboBoxAIR工作模式.AccessibleDescription = (string) null;
|
|
this.ComboBoxAIR工作模式.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) this.ComboBoxAIR工作模式, "ComboBoxAIR工作模式");
|
|
this.ComboBoxAIR工作模式.BackgroundImage = (Image) null;
|
|
this.ComboBoxAIR工作模式.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
this.ComboBoxAIR工作模式.Font = (Font) null;
|
|
this.ComboBoxAIR工作模式.FormattingEnabled = true;
|
|
this.ComboBoxAIR工作模式.Items.AddRange(new object[2]
|
|
{
|
|
(object) componentResourceManager.GetString("ComboBoxAIR工作模式.Items"),
|
|
(object) componentResourceManager.GetString("ComboBoxAIR工作模式.Items1")
|
|
});
|
|
this.ComboBoxAIR工作模式.Name = "ComboBoxAIR工作模式";
|
|
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.GroupBox3.AccessibleDescription = (string) null;
|
|
this.GroupBox3.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) this.GroupBox3, "GroupBox3");
|
|
this.GroupBox3.BackgroundImage = (Image) null;
|
|
this.GroupBox3.Controls.Add((Control) this.DataGridView3);
|
|
this.GroupBox3.Font = (Font) null;
|
|
this.GroupBox3.Name = "GroupBox3";
|
|
this.GroupBox3.TabStop = false;
|
|
this.DataGridView3.AccessibleDescription = (string) null;
|
|
this.DataGridView3.AccessibleName = (string) null;
|
|
this.DataGridView3.AllowUserToAddRows = false;
|
|
this.DataGridView3.AllowUserToDeleteRows = false;
|
|
this.DataGridView3.AllowUserToResizeColumns = false;
|
|
this.DataGridView3.AllowUserToResizeRows = false;
|
|
gridViewCellStyle9.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
this.DataGridView3.AlternatingRowsDefaultCellStyle = gridViewCellStyle9;
|
|
componentResourceManager.ApplyResources((object) this.DataGridView3, "DataGridView3");
|
|
this.DataGridView3.BackgroundImage = (Image) null;
|
|
gridViewCellStyle10.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
gridViewCellStyle10.BackColor = SystemColors.Control;
|
|
gridViewCellStyle10.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 134);
|
|
gridViewCellStyle10.ForeColor = SystemColors.WindowText;
|
|
gridViewCellStyle10.SelectionBackColor = SystemColors.Highlight;
|
|
gridViewCellStyle10.SelectionForeColor = SystemColors.HighlightText;
|
|
gridViewCellStyle10.WrapMode = DataGridViewTriState.True;
|
|
this.DataGridView3.ColumnHeadersDefaultCellStyle = gridViewCellStyle10;
|
|
this.DataGridView3.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.DataGridView3.Columns.AddRange((DataGridViewColumn) this.ColumnAIRFreq);
|
|
this.DataGridView3.Font = (Font) null;
|
|
this.DataGridView3.Name = "DataGridView3";
|
|
gridViewCellStyle11.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
gridViewCellStyle11.BackColor = SystemColors.Control;
|
|
gridViewCellStyle11.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 134);
|
|
gridViewCellStyle11.ForeColor = SystemColors.WindowText;
|
|
gridViewCellStyle11.SelectionBackColor = SystemColors.Highlight;
|
|
gridViewCellStyle11.SelectionForeColor = SystemColors.HighlightText;
|
|
gridViewCellStyle11.WrapMode = DataGridViewTriState.True;
|
|
this.DataGridView3.RowHeadersDefaultCellStyle = gridViewCellStyle11;
|
|
this.DataGridView3.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
gridViewCellStyle12.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
this.DataGridView3.RowsDefaultCellStyle = gridViewCellStyle12;
|
|
this.DataGridView3.RowTemplate.Height = 23;
|
|
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;
|
|
componentResourceManager.ApplyResources((object) this.ColumnFMFreq, "ColumnFMFreq");
|
|
this.ColumnFMFreq.MaxInputLength = 9;
|
|
this.ColumnFMFreq.Name = "ColumnFMFreq";
|
|
this.ColumnFMFreq.Resizable = DataGridViewTriState.False;
|
|
this.ColumnFMFreq.SortMode = DataGridViewColumnSortMode.NotSortable;
|
|
componentResourceManager.ApplyResources((object) this.ColumnAMFreq, "ColumnAMFreq");
|
|
this.ColumnAMFreq.MaxInputLength = 9;
|
|
this.ColumnAMFreq.Name = "ColumnAMFreq";
|
|
this.ColumnAMFreq.Resizable = DataGridViewTriState.False;
|
|
this.ColumnAMFreq.SortMode = DataGridViewColumnSortMode.NotSortable;
|
|
componentResourceManager.ApplyResources((object) this.ColumnAIRFreq, "ColumnAIRFreq");
|
|
this.ColumnAIRFreq.MaxInputLength = 9;
|
|
this.ColumnAIRFreq.Name = "ColumnAIRFreq";
|
|
this.ColumnAIRFreq.Resizable = DataGridViewTriState.False;
|
|
this.ColumnAIRFreq.SortMode = DataGridViewColumnSortMode.NotSortable;
|
|
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 (RadioMsgForm);
|
|
this.TabControl1.ResumeLayout(false);
|
|
this.TabPage1.ResumeLayout(false);
|
|
this.TabPage1.PerformLayout();
|
|
this.GroupBox1.ResumeLayout(false);
|
|
((ISupportInitialize) this.DataGridView1).EndInit();
|
|
this.TabPage2.ResumeLayout(false);
|
|
this.TabPage2.PerformLayout();
|
|
this.GroupBox2.ResumeLayout(false);
|
|
((ISupportInitialize) this.DataGridView2).EndInit();
|
|
this.TabPage3.ResumeLayout(false);
|
|
this.TabPage3.PerformLayout();
|
|
this.GroupBox3.ResumeLayout(false);
|
|
((ISupportInitialize) this.DataGridView3).EndInit();
|
|
this.ResumeLayout(false);
|
|
}
|
|
|
|
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 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 GroupBox GroupBox1
|
|
{
|
|
[DebuggerNonUserCode] get => this._GroupBox1;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
this._GroupBox1 = value;
|
|
}
|
|
}
|
|
|
|
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 ComboBox ComboBoxFM工作模式
|
|
{
|
|
[DebuggerNonUserCode] get => this._ComboBoxFM工作模式;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
this._ComboBoxFM工作模式 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual Label Label1
|
|
{
|
|
[DebuggerNonUserCode] get => this._Label1;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label1 = value;
|
|
}
|
|
|
|
internal virtual ComboBox ComboBoxFM信道号
|
|
{
|
|
[DebuggerNonUserCode] get => this._ComboBoxFM信道号;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._ComboBoxFM信道号 != null)
|
|
this._ComboBoxFM信道号.SelectionChangeCommitted -= new EventHandler(this.ComboBoxFM信道号_SelectionChangeCommitted);
|
|
this._ComboBoxFM信道号 = value;
|
|
if (this._ComboBoxFM信道号 == null)
|
|
return;
|
|
this._ComboBoxFM信道号.SelectionChangeCommitted += new EventHandler(this.ComboBoxFM信道号_SelectionChangeCommitted);
|
|
}
|
|
}
|
|
|
|
internal virtual Label Label2
|
|
{
|
|
[DebuggerNonUserCode] get => this._Label2;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label2 = value;
|
|
}
|
|
|
|
internal virtual ComboBox ComboBoxAM信道号
|
|
{
|
|
[DebuggerNonUserCode] get => this._ComboBoxAM信道号;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._ComboBoxAM信道号 != null)
|
|
this._ComboBoxAM信道号.SelectionChangeCommitted -= new EventHandler(this.ComboBoxAM信道号_SelectionChangeCommitted);
|
|
this._ComboBoxAM信道号 = value;
|
|
if (this._ComboBoxAM信道号 == null)
|
|
return;
|
|
this._ComboBoxAM信道号.SelectionChangeCommitted += new EventHandler(this.ComboBoxAM信道号_SelectionChangeCommitted);
|
|
}
|
|
}
|
|
|
|
internal virtual Label Label3
|
|
{
|
|
[DebuggerNonUserCode] get => this._Label3;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label3 = value;
|
|
}
|
|
|
|
internal virtual ComboBox ComboBoxAM工作模式
|
|
{
|
|
[DebuggerNonUserCode] get => this._ComboBoxAM工作模式;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
this._ComboBoxAM工作模式 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual Label Label4
|
|
{
|
|
[DebuggerNonUserCode] get => this._Label4;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label4 = value;
|
|
}
|
|
|
|
internal virtual GroupBox GroupBox2
|
|
{
|
|
[DebuggerNonUserCode] get => this._GroupBox2;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
this._GroupBox2 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual DataGridView DataGridView2
|
|
{
|
|
[DebuggerNonUserCode] get => this._DataGridView2;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._DataGridView2 != null)
|
|
{
|
|
this._DataGridView2.CellEndEdit -= new DataGridViewCellEventHandler(this.DataGridView2_CellEndEdit);
|
|
this._DataGridView2.RowPostPaint -= new DataGridViewRowPostPaintEventHandler(this.DataGridView2_RowPostPaint);
|
|
this._DataGridView2.EditingControlShowing -= new DataGridViewEditingControlShowingEventHandler(this.DataGridView2_EditingControlShowing);
|
|
}
|
|
this._DataGridView2 = value;
|
|
if (this._DataGridView2 == null)
|
|
return;
|
|
this._DataGridView2.CellEndEdit += new DataGridViewCellEventHandler(this.DataGridView2_CellEndEdit);
|
|
this._DataGridView2.RowPostPaint += new DataGridViewRowPostPaintEventHandler(this.DataGridView2_RowPostPaint);
|
|
this._DataGridView2.EditingControlShowing += new DataGridViewEditingControlShowingEventHandler(this.DataGridView2_EditingControlShowing);
|
|
}
|
|
}
|
|
|
|
internal virtual ComboBox ComboBoxAIR信道号
|
|
{
|
|
[DebuggerNonUserCode] get => this._ComboBoxAIR信道号;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._ComboBoxAIR信道号 != null)
|
|
this._ComboBoxAIR信道号.SelectionChangeCommitted -= new EventHandler(this.ComboBoxAIR信道号_SelectionChangeCommitted);
|
|
this._ComboBoxAIR信道号 = value;
|
|
if (this._ComboBoxAIR信道号 == null)
|
|
return;
|
|
this._ComboBoxAIR信道号.SelectionChangeCommitted += new EventHandler(this.ComboBoxAIR信道号_SelectionChangeCommitted);
|
|
}
|
|
}
|
|
|
|
internal virtual Label Label5
|
|
{
|
|
[DebuggerNonUserCode] get => this._Label5;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label5 = value;
|
|
}
|
|
|
|
internal virtual ComboBox ComboBoxAIR工作模式
|
|
{
|
|
[DebuggerNonUserCode] get => this._ComboBoxAIR工作模式;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
this._ComboBoxAIR工作模式 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual Label Label6
|
|
{
|
|
[DebuggerNonUserCode] get => this._Label6;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label6 = value;
|
|
}
|
|
|
|
internal virtual GroupBox GroupBox3
|
|
{
|
|
[DebuggerNonUserCode] get => this._GroupBox3;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
this._GroupBox3 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual DataGridView DataGridView3
|
|
{
|
|
[DebuggerNonUserCode] get => this._DataGridView3;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (this._DataGridView3 != null)
|
|
{
|
|
this._DataGridView3.EditingControlShowing -= new DataGridViewEditingControlShowingEventHandler(this.DataGridView3_EditingControlShowing);
|
|
this._DataGridView3.CellEndEdit -= new DataGridViewCellEventHandler(this.DataGridView3_CellEndEdit);
|
|
this._DataGridView3.RowPostPaint -= new DataGridViewRowPostPaintEventHandler(this.DataGridView3_RowPostPaint);
|
|
}
|
|
this._DataGridView3 = value;
|
|
if (this._DataGridView3 == null)
|
|
return;
|
|
this._DataGridView3.EditingControlShowing += new DataGridViewEditingControlShowingEventHandler(this.DataGridView3_EditingControlShowing);
|
|
this._DataGridView3.CellEndEdit += new DataGridViewCellEventHandler(this.DataGridView3_CellEndEdit);
|
|
this._DataGridView3.RowPostPaint += new DataGridViewRowPostPaintEventHandler(this.DataGridView3_RowPostPaint);
|
|
}
|
|
}
|
|
|
|
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 ColumnFMFreq
|
|
{
|
|
[DebuggerNonUserCode] get => this._ColumnFMFreq;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
this._ColumnFMFreq = value;
|
|
}
|
|
}
|
|
|
|
internal virtual DataGridViewTextBoxColumn ColumnAMFreq
|
|
{
|
|
[DebuggerNonUserCode] get => this._ColumnAMFreq;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
this._ColumnAMFreq = value;
|
|
}
|
|
}
|
|
|
|
internal virtual DataGridViewTextBoxColumn ColumnAIRFreq
|
|
{
|
|
[DebuggerNonUserCode] get => this._ColumnAIRFreq;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
this._ColumnAIRFreq = value;
|
|
}
|
|
}
|
|
|
|
public void RadioMsgForm_Deactivate(object sender, EventArgs e)
|
|
{
|
|
this.DataGridView1.EndEdit();
|
|
this.DataGridView2.EndEdit();
|
|
this.DataGridView3.EndEdit();
|
|
MyProject.Forms.MDIParent1.GetControl_U8_Data((Control) this.ComboBoxAIR工作模式, checked (3840 + 29), publicva.Bit5, 5);
|
|
MyProject.Forms.MDIParent1.GetControl_U8_Data((Control) this.ComboBoxAIR信道号, checked (3952 + 6), publicva.AllBit, 0);
|
|
int num1 = 7168;
|
|
int rowIndex1 = 1;
|
|
do
|
|
{
|
|
if (Operators.ConditionalCompareObjectEqual(this.DataGridView3["ColumnAIRFreq", rowIndex1].Value, (object) "", false))
|
|
{
|
|
MyProject.Forms.ChannelMsg.CHStatusList_Write(checked (rowIndex1 - 1), "删除", 7856);
|
|
}
|
|
else
|
|
{
|
|
MyProject.Forms.ChannelMsg.CHStatusList_Write(checked (rowIndex1 - 1), "添加", 7856);
|
|
this.Set_Freq(checked (rowIndex1 * 4 + num1), Conversions.ToString(this.DataGridView3["ColumnAIRFreq", rowIndex1].Value));
|
|
}
|
|
checked { ++rowIndex1; }
|
|
}
|
|
while (rowIndex1 <= 64);
|
|
this.Set_Freq(checked (0 + 7816), Conversions.ToString(this.DataGridView3["ColumnAIRFreq", 0].Value));
|
|
MyProject.Forms.MDIParent1.GetControl_U8_Data((Control) this.ComboBoxAM工作模式, checked (3840 + 29), publicva.Bit4, 4);
|
|
MyProject.Forms.MDIParent1.GetControl_U8_Data((Control) this.ComboBoxAM信道号, checked (3952 + 8), publicva.AllBit, 0);
|
|
int num2 = 7424;
|
|
int rowIndex2 = 1;
|
|
do
|
|
{
|
|
if (Operators.ConditionalCompareObjectEqual(this.DataGridView2["ColumnAMFreq", rowIndex2].Value, (object) "", false))
|
|
{
|
|
MyProject.Forms.ChannelMsg.CHStatusList_Write(checked (rowIndex2 - 1), "删除", 7824);
|
|
}
|
|
else
|
|
{
|
|
MyProject.Forms.ChannelMsg.CHStatusList_Write(checked (rowIndex2 - 1), "添加", 7824);
|
|
this.Set_Freq(checked (rowIndex2 * 4 + num2), Conversions.ToString(this.DataGridView2["ColumnAMFreq", rowIndex2].Value));
|
|
publicva.EEPROM_Byte[checked (rowIndex2 * 4 + num2 + 3)] = Conversions.ToByte(this.Get_AMFreqRangID(Conversions.ToDouble(this.DataGridView2["ColumnAMFreq", rowIndex2].Value)));
|
|
}
|
|
checked { ++rowIndex2; }
|
|
}
|
|
while (rowIndex2 <= 64);
|
|
int num3 = 7808;
|
|
this.Set_Freq(checked (0 + num3), Conversions.ToString(this.DataGridView2["ColumnAMFreq", 0].Value));
|
|
publicva.EEPROM_Byte[checked (0 + num3 + 3)] = Conversions.ToByte(this.Get_AMFreqRangID(Conversions.ToDouble(this.DataGridView2["ColumnAMFreq", 0].Value)));
|
|
MyProject.Forms.MDIParent1.GetControl_U8_Data((Control) this.ComboBoxFM工作模式, checked (3840 + 15), publicva.Bit6, 6);
|
|
MyProject.Forms.MDIParent1.GetControl_U8_Data((Control) this.ComboBoxFM信道号, checked (3952 + 7), publicva.AllBit, 0);
|
|
int num4 = 7680;
|
|
int rowIndex3 = 1;
|
|
do
|
|
{
|
|
if (Operators.ConditionalCompareObjectEqual(this.DataGridView1["ColumnFMFreq", rowIndex3].Value, (object) "", false))
|
|
{
|
|
MyProject.Forms.ChannelMsg.CHStatusList_Write(checked (rowIndex3 - 1), "删除", 7840);
|
|
}
|
|
else
|
|
{
|
|
MyProject.Forms.ChannelMsg.CHStatusList_Write(checked (rowIndex3 - 1), "添加", 7840);
|
|
this.Set_Freq(checked (rowIndex3 * 4 + num4), Conversions.ToString(this.DataGridView1["ColumnFMFreq", rowIndex3].Value));
|
|
}
|
|
checked { ++rowIndex3; }
|
|
}
|
|
while (rowIndex3 <= 32);
|
|
this.Set_Freq(checked (0 + 7812), Conversions.ToString(this.DataGridView1["ColumnFMFreq", 0].Value));
|
|
}
|
|
|
|
private void RadioMsgForm_FormClosing(object sender, FormClosingEventArgs e)
|
|
{
|
|
MyProject.Forms.MDIParent1.收音机存储信道JToolStripMenuItem.Checked = false;
|
|
}
|
|
|
|
public void RadioMsgForm_Load(object sender, EventArgs e)
|
|
{
|
|
MyProject.Forms.MDIParent1.收音机存储信道JToolStripMenuItem.Checked = true;
|
|
this.DataGridView1.RowCount = 33;
|
|
this.DataGridView2.RowCount = 65;
|
|
this.DataGridView3.RowCount = 65;
|
|
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
|
{
|
|
this.DataGridView1.TopLeftHeaderCell.Value = (object) "信道";
|
|
this.DataGridView2.TopLeftHeaderCell.Value = (object) "信道";
|
|
this.DataGridView3.TopLeftHeaderCell.Value = (object) "信道";
|
|
}
|
|
else
|
|
{
|
|
this.DataGridView1.TopLeftHeaderCell.Value = (object) "CH";
|
|
this.DataGridView2.TopLeftHeaderCell.Value = (object) "CH";
|
|
this.DataGridView3.TopLeftHeaderCell.Value = (object) "CH";
|
|
}
|
|
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) this.ComboBoxAIR工作模式, checked (3840 + 29), publicva.Bit5, 5);
|
|
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) this.ComboBoxAIR信道号, checked (3952 + 6), publicva.AllBit, 0);
|
|
if (!MyProject.Forms.ChannelMsg.CHStatus_Read(this.ComboBoxAIR信道号.SelectedIndex, 7856))
|
|
this.ComboBoxAIR信道号.SelectedIndex = 0;
|
|
int num1 = 7168;
|
|
int rowIndex1 = 1;
|
|
do
|
|
{
|
|
this.DataGridView3["ColumnAIRFreq", rowIndex1].Value = !MyProject.Forms.ChannelMsg.CHStatus_Read(checked (rowIndex1 - 1), 7856) ? (object) "" : RuntimeHelpers.GetObjectValue(this.Get_Freq(checked (rowIndex1 * 4 + num1), 11850000, 13400000));
|
|
checked { ++rowIndex1; }
|
|
}
|
|
while (rowIndex1 <= 64);
|
|
this.DataGridView3["ColumnAIRFreq", 0].Value = RuntimeHelpers.GetObjectValue(this.Get_Freq(checked (0 + 7816), 11850000, 13400000));
|
|
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) this.ComboBoxAM工作模式, checked (3840 + 29), publicva.Bit4, 4);
|
|
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) this.ComboBoxAM信道号, checked (3952 + 8), publicva.AllBit, 0);
|
|
if (!MyProject.Forms.ChannelMsg.CHStatus_Read(this.ComboBoxAM信道号.SelectedIndex, 7824))
|
|
this.ComboBoxAM信道号.SelectedIndex = 0;
|
|
int num2 = 7424;
|
|
int rowIndex2 = 1;
|
|
do
|
|
{
|
|
this.DataGridView2["ColumnAMFreq", rowIndex2].Value = !MyProject.Forms.ChannelMsg.CHStatus_Read(checked (rowIndex2 - 1), 7824) ? (object) "" : RuntimeHelpers.GetObjectValue(this.Get_AMFreq(checked (rowIndex2 * 4 + num2)));
|
|
checked { ++rowIndex2; }
|
|
}
|
|
while (rowIndex2 <= 64);
|
|
this.DataGridView2["ColumnAMFreq", 0].Value = RuntimeHelpers.GetObjectValue(this.Get_AMFreq(checked (0 + 7808)));
|
|
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) this.ComboBoxFM工作模式, checked (3840 + 15), publicva.Bit6, 6);
|
|
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) this.ComboBoxFM信道号, checked (3952 + 7), publicva.AllBit, 0);
|
|
if (!MyProject.Forms.ChannelMsg.CHStatus_Read(this.ComboBoxFM信道号.SelectedIndex, 7840))
|
|
this.ComboBoxFM信道号.SelectedIndex = 0;
|
|
int num3 = 7680;
|
|
int rowIndex3 = 1;
|
|
do
|
|
{
|
|
this.DataGridView1["ColumnFMFreq", rowIndex3].Value = !MyProject.Forms.ChannelMsg.CHStatus_Read(checked (rowIndex3 - 1), 7840) ? (object) "" : RuntimeHelpers.GetObjectValue(this.Get_Freq(checked (rowIndex3 * 4 + num3), 6400000, 10800000));
|
|
checked { ++rowIndex3; }
|
|
}
|
|
while (rowIndex3 <= 32);
|
|
this.DataGridView1["ColumnFMFreq", 0].Value = RuntimeHelpers.GetObjectValue(this.Get_Freq(checked (0 + 7812), 6400000, 10800000));
|
|
}
|
|
|
|
private void DataGridView1_CellEndEdit(object sender, DataGridViewCellEventArgs e)
|
|
{
|
|
int rowIndex = this.DataGridView1.CurrentCell.RowIndex;
|
|
if (Operators.ConditionalCompareObjectNotEqual(this.DataGridView1["ColumnFMFreq", rowIndex].Value, (object) "", false))
|
|
this.DataGridView1["ColumnFMFreq", rowIndex].Value = RuntimeHelpers.GetObjectValue(this.JudgeInputFMFreq(Conversions.ToString(this.DataGridView1["ColumnFMFreq", rowIndex].Value), 6400000, 10800000));
|
|
if (Conversions.ToBoolean(Operators.AndObject(Operators.CompareObjectEqual(this.DataGridView1["ColumnFMFreq", rowIndex].Value, (object) "", false), (object) (rowIndex == 0))))
|
|
this.DataGridView1["ColumnFMFreq", rowIndex].Value = (object) "100.70000";
|
|
this.RadioMsgForm_Deactivate(RuntimeHelpers.GetObjectValue(sender), (EventArgs) e);
|
|
this.ComboBoxFM信道号_SelectionChangeCommitted(RuntimeHelpers.GetObjectValue(sender), (EventArgs) e);
|
|
}
|
|
|
|
private void DataGridView2_CellEndEdit(object sender, DataGridViewCellEventArgs e)
|
|
{
|
|
int rowIndex = this.DataGridView2.CurrentCell.RowIndex;
|
|
if (Operators.ConditionalCompareObjectNotEqual(this.DataGridView2["ColumnAMFreq", rowIndex].Value, (object) "", false))
|
|
this.DataGridView2["ColumnAMFreq", rowIndex].Value = RuntimeHelpers.GetObjectValue(this.JudgeInputAMFreq(Conversions.ToString(this.DataGridView2["ColumnAMFreq", rowIndex].Value)));
|
|
if (Conversions.ToBoolean(Operators.AndObject(Operators.CompareObjectEqual(this.DataGridView2["ColumnAMFreq", rowIndex].Value, (object) "", false), (object) (rowIndex == 0))))
|
|
this.DataGridView2["ColumnAMFreq", rowIndex].Value = (object) "21.70000";
|
|
this.RadioMsgForm_Deactivate(RuntimeHelpers.GetObjectValue(sender), (EventArgs) e);
|
|
this.ComboBoxAM信道号_SelectionChangeCommitted(RuntimeHelpers.GetObjectValue(sender), (EventArgs) e);
|
|
}
|
|
|
|
private void DataGridView3_CellEndEdit(object sender, DataGridViewCellEventArgs e)
|
|
{
|
|
int rowIndex = this.DataGridView3.CurrentCell.RowIndex;
|
|
if (Operators.ConditionalCompareObjectNotEqual(this.DataGridView3["ColumnAIRFreq", rowIndex].Value, (object) "", false))
|
|
this.DataGridView3["ColumnAIRFreq", rowIndex].Value = RuntimeHelpers.GetObjectValue(this.JudgeInputAIRFreq(Conversions.ToString(this.DataGridView3["ColumnAIRFreq", rowIndex].Value), 11850000, 13400000));
|
|
if (Conversions.ToBoolean(Operators.AndObject(Operators.CompareObjectEqual(this.DataGridView3["ColumnAIRFreq", rowIndex].Value, (object) "", false), (object) (rowIndex == 0))))
|
|
this.DataGridView3["ColumnAIRFreq", rowIndex].Value = (object) "118.50000";
|
|
this.RadioMsgForm_Deactivate(RuntimeHelpers.GetObjectValue(sender), (EventArgs) e);
|
|
this.ComboBoxAIR信道号_SelectionChangeCommitted(RuntimeHelpers.GetObjectValue(sender), (EventArgs) e);
|
|
}
|
|
|
|
private void DataGridView1_EditingControlShowing(
|
|
object sender,
|
|
DataGridViewEditingControlShowingEventArgs e)
|
|
{
|
|
if (this.DataGridView1.CurrentCell.ColumnIndex != this.DataGridView1["ColumnFMFreq", 0].ColumnIndex)
|
|
return;
|
|
DataGridViewTextBoxEditingControl boxEditingControl = new DataGridViewTextBoxEditingControl();
|
|
boxEditingControl = (DataGridViewTextBoxEditingControl) e.Control;
|
|
e.Control.KeyPress += new KeyPressEventHandler(this.Cells_KeyPress);
|
|
}
|
|
|
|
private void DataGridView2_EditingControlShowing(
|
|
object sender,
|
|
DataGridViewEditingControlShowingEventArgs e)
|
|
{
|
|
if (this.DataGridView2.CurrentCell.ColumnIndex != this.DataGridView2["ColumnAMFreq", 0].ColumnIndex)
|
|
return;
|
|
DataGridViewTextBoxEditingControl boxEditingControl = new DataGridViewTextBoxEditingControl();
|
|
boxEditingControl = (DataGridViewTextBoxEditingControl) e.Control;
|
|
e.Control.KeyPress += new KeyPressEventHandler(this.Cells_KeyPress);
|
|
}
|
|
|
|
private void DataGridView3_EditingControlShowing(
|
|
object sender,
|
|
DataGridViewEditingControlShowingEventArgs e)
|
|
{
|
|
if (this.DataGridView3.CurrentCell.ColumnIndex != this.DataGridView3["ColumnAIRFreq", 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) | e.KeyChar == '\b' | Operators.CompareString(Conversions.ToString(e.KeyChar), ".", false) == 0)
|
|
e.Handled = false;
|
|
else
|
|
e.Handled = true;
|
|
}
|
|
|
|
private void DataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
|
|
{
|
|
string[] strArray = new string[1]{ "搜台" };
|
|
Brush brush = (Brush) new SolidBrush(this.DataGridView1.RowHeadersDefaultCellStyle.ForeColor);
|
|
int num = 11;
|
|
if (Operators.CompareString(publicva.Language, "zh-CN", false) != 0)
|
|
{
|
|
strArray[0] = "VFO";
|
|
num = 7;
|
|
}
|
|
if (e.RowIndex == 0)
|
|
e.Graphics.DrawString(strArray[0].ToString(), this.DataGridView1.DefaultCellStyle.Font, brush, (float) e.RowBounds.Location.X + (float) checked (this.DataGridView1.RowHeadersWidth - strArray[0].ToString().Length * num) / 2f, (float) checked (e.RowBounds.Location.Y + 5));
|
|
else
|
|
e.Graphics.DrawString(checked (e.RowIndex - 1).ToString(), this.DataGridView1.DefaultCellStyle.Font, brush, (float) e.RowBounds.Location.X + (float) checked (this.DataGridView1.RowHeadersWidth - (e.RowIndex - 1).ToString().Length * 8) / 2f, (float) checked (e.RowBounds.Location.Y + 5));
|
|
}
|
|
|
|
private void DataGridView2_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
|
|
{
|
|
string[] strArray = new string[1]{ "搜台" };
|
|
Brush brush = (Brush) new SolidBrush(this.DataGridView2.RowHeadersDefaultCellStyle.ForeColor);
|
|
int num = 11;
|
|
if (Operators.CompareString(publicva.Language, "zh-CN", false) != 0)
|
|
{
|
|
strArray[0] = "VFO";
|
|
num = 7;
|
|
}
|
|
if (e.RowIndex == 0)
|
|
e.Graphics.DrawString(strArray[0].ToString(), this.DataGridView2.DefaultCellStyle.Font, brush, (float) e.RowBounds.Location.X + (float) checked (this.DataGridView2.RowHeadersWidth - strArray[0].ToString().Length * num) / 2f, (float) checked (e.RowBounds.Location.Y + 5));
|
|
else
|
|
e.Graphics.DrawString(checked (e.RowIndex - 1).ToString(), this.DataGridView2.DefaultCellStyle.Font, brush, (float) e.RowBounds.Location.X + (float) checked (this.DataGridView2.RowHeadersWidth - (e.RowIndex - 1).ToString().Length * 8) / 2f, (float) checked (e.RowBounds.Location.Y + 5));
|
|
}
|
|
|
|
private void DataGridView3_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
|
|
{
|
|
string[] strArray = new string[1]{ "搜台" };
|
|
Brush brush = (Brush) new SolidBrush(this.DataGridView3.RowHeadersDefaultCellStyle.ForeColor);
|
|
int num = 11;
|
|
if (Operators.CompareString(publicva.Language, "zh-CN", false) != 0)
|
|
{
|
|
strArray[0] = "VFO";
|
|
num = 7;
|
|
}
|
|
if (e.RowIndex == 0)
|
|
e.Graphics.DrawString(strArray[0].ToString(), this.DataGridView3.DefaultCellStyle.Font, brush, (float) e.RowBounds.Location.X + (float) checked (this.DataGridView3.RowHeadersWidth - strArray[0].ToString().Length * num) / 2f, (float) checked (e.RowBounds.Location.Y + 5));
|
|
else
|
|
e.Graphics.DrawString(checked (e.RowIndex - 1).ToString(), this.DataGridView3.DefaultCellStyle.Font, brush, (float) e.RowBounds.Location.X + (float) checked (this.DataGridView3.RowHeadersWidth - (e.RowIndex - 1).ToString().Length * 8) / 2f, (float) checked (e.RowBounds.Location.Y + 5));
|
|
}
|
|
|
|
public object JudgeInputFMFreq(string StrFreq, int Min, int Max)
|
|
{
|
|
string str;
|
|
try
|
|
{
|
|
uint num1 = checked ((uint) Math.Round(unchecked (Conversions.ToDouble(StrFreq) * 100000.0)));
|
|
if ((long) Max >= (long) num1 & (long) num1 >= (long) Min)
|
|
{
|
|
if ((long) num1 % 5000L != 0L)
|
|
{
|
|
int num2 = checked ((int) unchecked ((long) num1 / 5000L));
|
|
if ((long) num1 % 5000L > 10000L)
|
|
checked { ++num2; }
|
|
num1 = checked ((uint) (num2 * 5000));
|
|
}
|
|
str = string.Format("{0:##0.00000}", (object) ((double) num1 / 100000.0));
|
|
}
|
|
else
|
|
{
|
|
MyProject.Forms.ChannelMsg.Msgbox_Msg("频率超出范围", "frequency out of range,out of range");
|
|
str = "";
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ProjectData.SetProjectError(ex);
|
|
MyProject.Forms.ChannelMsg.Msgbox_Msg("频率超出范围", "frequency out of range,out of range");
|
|
str = "";
|
|
ProjectData.ClearProjectError();
|
|
}
|
|
return (object) str;
|
|
}
|
|
|
|
public object JudgeInputAIRFreq(string StrFreq, int Min, int Max)
|
|
{
|
|
string str;
|
|
try
|
|
{
|
|
int num1 = checked ((int) Math.Round(unchecked (Conversions.ToDouble(StrFreq) * 100000.0)));
|
|
if (Max >= num1 & num1 >= Min)
|
|
{
|
|
if (num1 % 500 != 0 && num1 % 625 != 0)
|
|
{
|
|
int num2 = num1;
|
|
int num3 = num2 / 625;
|
|
if (num2 % 625 > 1250)
|
|
checked { ++num3; }
|
|
int num4 = checked (num3 * 625);
|
|
int num5 = num1;
|
|
int num6 = num5 / 500;
|
|
if (num5 % 500 > 1000)
|
|
checked { ++num6; }
|
|
int num7 = checked (num6 * 500);
|
|
num1 = Math.Abs(checked (num4 - num1)) <= Math.Abs(checked (num7 - num1)) ? num4 : num7;
|
|
}
|
|
str = string.Format("{0:##0.00000}", (object) ((double) num1 / 100000.0));
|
|
}
|
|
else
|
|
{
|
|
MyProject.Forms.ChannelMsg.Msgbox_Msg("频率超出范围", "frequency out of range,out of range");
|
|
str = "";
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ProjectData.SetProjectError(ex);
|
|
MyProject.Forms.ChannelMsg.Msgbox_Msg("频率超出范围", "frequency out of range,out of range");
|
|
str = "";
|
|
ProjectData.ClearProjectError();
|
|
}
|
|
return (object) str;
|
|
}
|
|
|
|
public object Get_AMFreqRangID(double Freq)
|
|
{
|
|
uint num1 = checked ((uint) Math.Round(unchecked (Freq * 100000.0)));
|
|
uint num2 = checked ((uint) Information.UBound((Array) publicva.AMFreqRang));
|
|
uint amFreqRangId = 0;
|
|
while (amFreqRangId <= num2)
|
|
{
|
|
if (publicva.AMFreqRang[checked ((int) amFreqRangId), 1] >= num1 & num1 >= publicva.AMFreqRang[checked ((int) amFreqRangId), 0])
|
|
return (object) amFreqRangId;
|
|
checked { ++amFreqRangId; }
|
|
}
|
|
return (object) -1;
|
|
}
|
|
|
|
public object JudgeInputAMFreq(string StrFreq)
|
|
{
|
|
string str;
|
|
try
|
|
{
|
|
double Freq = Conversions.ToDouble(StrFreq);
|
|
if (Conversions.ToInteger(this.Get_AMFreqRangID(Freq)) != -1)
|
|
{
|
|
uint num1 = checked ((uint) Math.Round(unchecked (Freq * 100000.0)));
|
|
if ((long) num1 % 100L != 0L)
|
|
{
|
|
int num2 = checked ((int) unchecked ((long) num1 / 100L));
|
|
if ((long) num1 % 100L > 200L)
|
|
checked { ++num2; }
|
|
num1 = checked ((uint) (num2 * 100));
|
|
}
|
|
str = string.Format("{0:##0.00000}", (object) ((double) num1 / 100000.0));
|
|
}
|
|
else
|
|
{
|
|
MyProject.Forms.ChannelMsg.Msgbox_Msg("频率超出范围", "frequency out of range,out of range");
|
|
str = "";
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ProjectData.SetProjectError(ex);
|
|
MyProject.Forms.ChannelMsg.Msgbox_Msg("频率超出范围", "frequency out of range,out of range");
|
|
str = "";
|
|
ProjectData.ClearProjectError();
|
|
}
|
|
return (object) str;
|
|
}
|
|
|
|
public object Get_Freq(int Address, int Min, int Max)
|
|
{
|
|
double num = (double) checked (((int) publicva.EEPROM_Byte[Address + 0] & 240) >> 4 * 10000000) + (double) checked ((int) publicva.EEPROM_Byte[Address + 0] & 15 * 1000000) + (double) checked (((int) publicva.EEPROM_Byte[Address + 1] & 240) >> 4 * 100000) + (double) checked ((int) publicva.EEPROM_Byte[Address + 1] & 15 * 10000) + (double) checked (((int) publicva.EEPROM_Byte[Address + 2] & 240) >> 4 * 1000) + (double) checked ((int) publicva.EEPROM_Byte[Address + 2] & 15 * 100) + (double) checked (((int) publicva.EEPROM_Byte[Address + 3] & 240) >> 4 * 10) + (double) checked ((int) publicva.EEPROM_Byte[Address + 3] & 15 * 1);
|
|
return !((double) Max >= num & num >= (double) Min) ? (object) "" : (object) string.Format("{0:##0.00000}", (object) (num / 100000.0));
|
|
}
|
|
|
|
public object Get_AMFreq(int Address)
|
|
{
|
|
double num = (double) checked (((int) publicva.EEPROM_Byte[Address + 0] & 240) >> 4 * 10000000) + (double) checked ((int) publicva.EEPROM_Byte[Address + 0] & 15 * 1000000) + (double) checked (((int) publicva.EEPROM_Byte[Address + 1] & 240) >> 4 * 100000) + (double) checked ((int) publicva.EEPROM_Byte[Address + 1] & 15 * 10000) + (double) checked (((int) publicva.EEPROM_Byte[Address + 2] & 240) >> 4 * 1000) + (double) checked ((int) publicva.EEPROM_Byte[Address + 2] & 15 * 100) + 0.0 + 0.0;
|
|
return !((double) publicva.AMFreqRang[(int) publicva.EEPROM_Byte[checked (Address + 3)], 1] >= num & num >= (double) publicva.AMFreqRang[(int) publicva.EEPROM_Byte[checked (Address + 3)], 0]) ? (object) "" : (object) string.Format("{0:##0.00000}", (object) (num / 100000.0));
|
|
}
|
|
|
|
public void Set_Freq(int Address, string Temp_Value)
|
|
{
|
|
uint num;
|
|
try
|
|
{
|
|
num = checked ((uint) Math.Round(unchecked (Convert.ToDouble(Temp_Value) * 1000000.0)));
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ProjectData.SetProjectError(ex);
|
|
num = 0U;
|
|
ProjectData.ClearProjectError();
|
|
}
|
|
publicva.EEPROM_Byte[checked (Address + 0)] = Conversions.ToByte("&h" + Conversions.ToString((long) num / 10000000L));
|
|
publicva.EEPROM_Byte[checked (Address + 1)] = Conversions.ToByte("&h" + Conversions.ToString((long) num / 100000L % 100L));
|
|
publicva.EEPROM_Byte[checked (Address + 2)] = Conversions.ToByte("&h" + Conversions.ToString((long) num / 1000L % 100L));
|
|
publicva.EEPROM_Byte[checked (Address + 3)] = Conversions.ToByte("&h" + Conversions.ToString((long) num % 1000L / 10L));
|
|
}
|
|
|
|
private void Button1_Click(object sender, EventArgs e) => this.Close();
|
|
|
|
private void ComboBoxAM信道号_SelectionChangeCommitted(object sender, EventArgs e)
|
|
{
|
|
if (MyProject.Forms.ChannelMsg.CHStatus_Read(this.ComboBoxAM信道号.SelectedIndex, 7824))
|
|
return;
|
|
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) this.ComboBoxAM信道号, checked (3952 + 8), publicva.AllBit, 0);
|
|
if (!MyProject.Forms.ChannelMsg.CHStatus_Read(this.ComboBoxAM信道号.SelectedIndex, 7824))
|
|
this.ComboBoxAM信道号.SelectedIndex = 0;
|
|
}
|
|
|
|
private void ComboBoxFM信道号_SelectionChangeCommitted(object sender, EventArgs e)
|
|
{
|
|
if (MyProject.Forms.ChannelMsg.CHStatus_Read(this.ComboBoxFM信道号.SelectedIndex, 7840))
|
|
return;
|
|
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) this.ComboBoxFM信道号, checked (3952 + 7), publicva.AllBit, 0);
|
|
if (!MyProject.Forms.ChannelMsg.CHStatus_Read(this.ComboBoxFM信道号.SelectedIndex, 7840))
|
|
this.ComboBoxFM信道号.SelectedIndex = 0;
|
|
}
|
|
|
|
private void ComboBoxAIR信道号_SelectionChangeCommitted(object sender, EventArgs e)
|
|
{
|
|
if (MyProject.Forms.ChannelMsg.CHStatus_Read(this.ComboBoxAIR信道号.SelectedIndex, 7856))
|
|
return;
|
|
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) this.ComboBoxAIR信道号, checked (3952 + 6), publicva.AllBit, 0);
|
|
if (!MyProject.Forms.ChannelMsg.CHStatus_Read(this.ComboBoxAIR信道号.SelectedIndex, 7856))
|
|
this.ComboBoxAIR信道号.SelectedIndex = 0;
|
|
}
|
|
}
|
|
}
|