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