3268 lines
140 KiB
C#
3268 lines
140 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: HPG_68D.MDIParent1
|
|
// 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.IO;
|
|
using System.IO.Ports;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Threading;
|
|
using System.Windows.Forms;
|
|
|
|
|
|
namespace HPG_68D
|
|
{
|
|
[DesignerGenerated]
|
|
public class MDIParent1 : Form
|
|
{
|
|
private static ArrayList __ENCList = new ArrayList();
|
|
private IContainer components;
|
|
[AccessedThroughProperty("ContentsToolStripMenuItem")]
|
|
private ToolStripMenuItem _ContentsToolStripMenuItem;
|
|
[AccessedThroughProperty("HelpMenu")]
|
|
private ToolStripMenuItem _HelpMenu;
|
|
[AccessedThroughProperty("IndexToolStripMenuItem")]
|
|
private ToolStripMenuItem _IndexToolStripMenuItem;
|
|
[AccessedThroughProperty("SearchToolStripMenuItem")]
|
|
private ToolStripMenuItem _SearchToolStripMenuItem;
|
|
[AccessedThroughProperty("ToolStripSeparator8")]
|
|
private ToolStripSeparator _ToolStripSeparator8;
|
|
[AccessedThroughProperty("AboutToolStripMenuItem")]
|
|
private ToolStripMenuItem _AboutToolStripMenuItem;
|
|
[AccessedThroughProperty("ArrangeIconsToolStripMenuItem")]
|
|
private ToolStripMenuItem _ArrangeIconsToolStripMenuItem;
|
|
[AccessedThroughProperty("CloseAllToolStripMenuItem")]
|
|
private ToolStripMenuItem _CloseAllToolStripMenuItem;
|
|
[AccessedThroughProperty("NewWindowToolStripMenuItem")]
|
|
private ToolStripMenuItem _NewWindowToolStripMenuItem;
|
|
[AccessedThroughProperty("WindowsMenu")]
|
|
private ToolStripMenuItem _WindowsMenu;
|
|
[AccessedThroughProperty("CascadeToolStripMenuItem")]
|
|
private ToolStripMenuItem _CascadeToolStripMenuItem;
|
|
[AccessedThroughProperty("TileVerticalToolStripMenuItem")]
|
|
private ToolStripMenuItem _TileVerticalToolStripMenuItem;
|
|
[AccessedThroughProperty("TileHorizontalToolStripMenuItem")]
|
|
private ToolStripMenuItem _TileHorizontalToolStripMenuItem;
|
|
[AccessedThroughProperty("OptionsToolStripMenuItem")]
|
|
private ToolStripMenuItem _OptionsToolStripMenuItem;
|
|
[AccessedThroughProperty("HelpToolStripButton")]
|
|
private ToolStripButton _HelpToolStripButton;
|
|
[AccessedThroughProperty("ToolStripSeparator2")]
|
|
private ToolStripSeparator _ToolStripSeparator2;
|
|
[AccessedThroughProperty("PrintPreviewToolStripButton")]
|
|
private ToolStripButton _PrintPreviewToolStripButton;
|
|
[AccessedThroughProperty("ToolTip")]
|
|
private ToolTip _ToolTip;
|
|
[AccessedThroughProperty("ToolStripStatusLabel")]
|
|
private ToolStripStatusLabel _ToolStripStatusLabel;
|
|
[AccessedThroughProperty("StatusStrip")]
|
|
private StatusStrip _StatusStrip;
|
|
[AccessedThroughProperty("PrintToolStripButton")]
|
|
private ToolStripButton _PrintToolStripButton;
|
|
[AccessedThroughProperty("NewToolStripButton")]
|
|
private ToolStripButton _NewToolStripButton;
|
|
[AccessedThroughProperty("ToolStrip")]
|
|
private ToolStrip _ToolStrip;
|
|
[AccessedThroughProperty("OpenToolStripButton")]
|
|
private ToolStripButton _OpenToolStripButton;
|
|
[AccessedThroughProperty("SaveToolStripButton")]
|
|
private ToolStripButton _SaveToolStripButton;
|
|
[AccessedThroughProperty("ToolStripSeparator1")]
|
|
private ToolStripSeparator _ToolStripSeparator1;
|
|
[AccessedThroughProperty("PrintPreviewToolStripMenuItem")]
|
|
private ToolStripMenuItem _PrintPreviewToolStripMenuItem;
|
|
[AccessedThroughProperty("PrintToolStripMenuItem")]
|
|
private ToolStripMenuItem _PrintToolStripMenuItem;
|
|
[AccessedThroughProperty("ToolStripSeparator4")]
|
|
private ToolStripSeparator _ToolStripSeparator4;
|
|
[AccessedThroughProperty("ExitToolStripMenuItem")]
|
|
private ToolStripMenuItem _ExitToolStripMenuItem;
|
|
[AccessedThroughProperty("ToolStripSeparator5")]
|
|
private ToolStripSeparator _ToolStripSeparator5;
|
|
[AccessedThroughProperty("PrintSetupToolStripMenuItem")]
|
|
private ToolStripMenuItem _PrintSetupToolStripMenuItem;
|
|
[AccessedThroughProperty("SaveAsToolStripMenuItem")]
|
|
private ToolStripMenuItem _SaveAsToolStripMenuItem;
|
|
[AccessedThroughProperty("NewToolStripMenuItem")]
|
|
private ToolStripMenuItem _NewToolStripMenuItem;
|
|
[AccessedThroughProperty("FileMenu")]
|
|
private ToolStripMenuItem _FileMenu;
|
|
[AccessedThroughProperty("OpenToolStripMenuItem")]
|
|
private ToolStripMenuItem _OpenToolStripMenuItem;
|
|
[AccessedThroughProperty("ToolStripSeparator3")]
|
|
private ToolStripSeparator _ToolStripSeparator3;
|
|
[AccessedThroughProperty("SaveToolStripMenuItem")]
|
|
private ToolStripMenuItem _SaveToolStripMenuItem;
|
|
[AccessedThroughProperty("MenuStrip")]
|
|
private MenuStrip _MenuStrip;
|
|
[AccessedThroughProperty("EditMenu")]
|
|
private ToolStripMenuItem _EditMenu;
|
|
[AccessedThroughProperty("UndoToolStripMenuItem")]
|
|
private ToolStripMenuItem _UndoToolStripMenuItem;
|
|
[AccessedThroughProperty("RedoToolStripMenuItem")]
|
|
private ToolStripMenuItem _RedoToolStripMenuItem;
|
|
[AccessedThroughProperty("ToolStripSeparator6")]
|
|
private ToolStripSeparator _ToolStripSeparator6;
|
|
[AccessedThroughProperty("CutToolStripMenuItem")]
|
|
private ToolStripMenuItem _CutToolStripMenuItem;
|
|
[AccessedThroughProperty("CopyToolStripMenuItem")]
|
|
private ToolStripMenuItem _CopyToolStripMenuItem;
|
|
[AccessedThroughProperty("PasteToolStripMenuItem")]
|
|
private ToolStripMenuItem _PasteToolStripMenuItem;
|
|
[AccessedThroughProperty("ToolStripSeparator7")]
|
|
private ToolStripSeparator _ToolStripSeparator7;
|
|
[AccessedThroughProperty("SelectAllToolStripMenuItem")]
|
|
private ToolStripMenuItem _SelectAllToolStripMenuItem;
|
|
[AccessedThroughProperty("ViewMenu")]
|
|
private ToolStripMenuItem _ViewMenu;
|
|
[AccessedThroughProperty("ToolBarToolStripMenuItem")]
|
|
private ToolStripMenuItem _ToolBarToolStripMenuItem;
|
|
[AccessedThroughProperty("StatusBarToolStripMenuItem")]
|
|
private ToolStripMenuItem _StatusBarToolStripMenuItem;
|
|
[AccessedThroughProperty("ToolsMenu")]
|
|
private ToolStripMenuItem _ToolsMenu;
|
|
[AccessedThroughProperty("TypeMenu")]
|
|
private ToolStripMenuItem _TypeMenu;
|
|
[AccessedThroughProperty("机型信息MToolStripMenuItem")]
|
|
private ToolStripMenuItem _机型信息MToolStripMenuItem;
|
|
[AccessedThroughProperty("EditMenuList")]
|
|
private ToolStripMenuItem _EditMenuList;
|
|
[AccessedThroughProperty("信道信息CToolStripMenuItem")]
|
|
private ToolStripMenuItem _信道信息CToolStripMenuItem;
|
|
[AccessedThroughProperty("ToolStripSeparator9")]
|
|
private ToolStripSeparator _ToolStripSeparator9;
|
|
[AccessedThroughProperty("整机信息OToolStripMenuItem")]
|
|
private ToolStripMenuItem _整机信息OToolStripMenuItem;
|
|
[AccessedThroughProperty("扫描信息SToolStripMenuItem")]
|
|
private ToolStripMenuItem _扫描信息SToolStripMenuItem;
|
|
[AccessedThroughProperty("提示音AToolStripMenuItem")]
|
|
private ToolStripMenuItem _提示音AToolStripMenuItem;
|
|
[AccessedThroughProperty("ToolStripSeparator10")]
|
|
private ToolStripSeparator _ToolStripSeparator10;
|
|
[AccessedThroughProperty("双音多频DToolStripMenuItem")]
|
|
private ToolStripMenuItem _双音多频DToolStripMenuItem;
|
|
[AccessedThroughProperty("两音TToolStripMenuItem")]
|
|
private ToolStripMenuItem _两音TToolStripMenuItem;
|
|
[AccessedThroughProperty("五音FToolStripMenuItem")]
|
|
private ToolStripMenuItem _五音FToolStripMenuItem;
|
|
[AccessedThroughProperty("ToolStripSeparator11")]
|
|
private ToolStripSeparator _ToolStripSeparator11;
|
|
[AccessedThroughProperty("紧急报警信息EToolStripMenuItem")]
|
|
private ToolStripMenuItem _紧急报警信息EToolStripMenuItem;
|
|
[AccessedThroughProperty("收音机存储信道JToolStripMenuItem")]
|
|
private ToolStripMenuItem _收音机存储信道JToolStripMenuItem;
|
|
[AccessedThroughProperty("嵌入信息IToolStripMenuItem")]
|
|
private ToolStripMenuItem _嵌入信息IToolStripMenuItem;
|
|
[AccessedThroughProperty("对讲机信息RToolStripMenuItem")]
|
|
private ToolStripMenuItem _对讲机信息RToolStripMenuItem;
|
|
[AccessedThroughProperty("ToolStripSeparator12")]
|
|
private ToolStripSeparator _ToolStripSeparator12;
|
|
[AccessedThroughProperty("ProgrammeMenu")]
|
|
private ToolStripMenuItem _ProgrammeMenu;
|
|
[AccessedThroughProperty("从对讲机读取数据RToolStripMenuItem")]
|
|
private ToolStripMenuItem _从对讲机读取数据RToolStripMenuItem;
|
|
[AccessedThroughProperty("向对讲机写入数据WToolStripMenuItem")]
|
|
private ToolStripMenuItem _向对讲机写入数据WToolStripMenuItem;
|
|
[AccessedThroughProperty("SetMenu")]
|
|
private ToolStripMenuItem _SetMenu;
|
|
[AccessedThroughProperty("语言设置LToolStripMenuItem")]
|
|
private ToolStripMenuItem _语言设置LToolStripMenuItem;
|
|
[AccessedThroughProperty("通信端口PToolStripMenuItem")]
|
|
private ToolStripMenuItem _通信端口PToolStripMenuItem;
|
|
[AccessedThroughProperty("更改密码CToolStripMenuItem")]
|
|
private ToolStripMenuItem _更改密码CToolStripMenuItem;
|
|
[AccessedThroughProperty("TreeViewToolStripMenuItem")]
|
|
private ToolStripMenuItem _TreeViewToolStripMenuItem;
|
|
[AccessedThroughProperty("ToolStripSeparator13")]
|
|
private ToolStripSeparator _ToolStripSeparator13;
|
|
[AccessedThroughProperty("ToolStripSeparator14")]
|
|
private ToolStripSeparator _ToolStripSeparator14;
|
|
[AccessedThroughProperty("帮助主题HToolStripMenuItem")]
|
|
private ToolStripMenuItem _帮助主题HToolStripMenuItem;
|
|
[AccessedThroughProperty("Panel1")]
|
|
private Panel _Panel1;
|
|
[AccessedThroughProperty("EditMenuListTreeView")]
|
|
private TreeView _EditMenuListTreeView;
|
|
[AccessedThroughProperty("ToolStripSeparator15")]
|
|
private ToolStripSeparator _ToolStripSeparator15;
|
|
[AccessedThroughProperty("SerialPort1")]
|
|
private SerialPort _SerialPort1;
|
|
[AccessedThroughProperty("Timer1")]
|
|
private System.Windows.Forms.Timer _Timer1;
|
|
[AccessedThroughProperty("ReadToolStripButton")]
|
|
private ToolStripButton _ReadToolStripButton;
|
|
[AccessedThroughProperty("ComPortToolStripButton")]
|
|
private ToolStripButton _ComPortToolStripButton;
|
|
[AccessedThroughProperty("WriteToolStripButton")]
|
|
private ToolStripButton _WriteToolStripButton;
|
|
[AccessedThroughProperty("ToolStripSeparator16")]
|
|
private ToolStripSeparator _ToolStripSeparator16;
|
|
[AccessedThroughProperty("中文ToolStripMenuItem")]
|
|
private ToolStripMenuItem _中文ToolStripMenuItem;
|
|
[AccessedThroughProperty("英文ToolStripMenuItem")]
|
|
private ToolStripMenuItem _英文ToolStripMenuItem;
|
|
private int m_ChildFormNumber;
|
|
|
|
[DebuggerNonUserCode]
|
|
static MDIParent1()
|
|
{
|
|
}
|
|
|
|
public MDIParent1()
|
|
{
|
|
Load += MDIParent1_Load;
|
|
__ENCList.Add((object) new WeakReference((object) this));
|
|
m_ChildFormNumber = 0;
|
|
InitializeComponent();
|
|
}
|
|
|
|
[DebuggerNonUserCode]
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && components != null)
|
|
components.Dispose();
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
[DebuggerStepThrough]
|
|
private void InitializeComponent()
|
|
{
|
|
components = (IContainer) new Container();
|
|
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (MDIParent1));
|
|
MenuStrip = new MenuStrip();
|
|
FileMenu = new ToolStripMenuItem();
|
|
NewToolStripMenuItem = new ToolStripMenuItem();
|
|
OpenToolStripMenuItem = new ToolStripMenuItem();
|
|
ToolStripSeparator3 = new ToolStripSeparator();
|
|
SaveToolStripMenuItem = new ToolStripMenuItem();
|
|
SaveAsToolStripMenuItem = new ToolStripMenuItem();
|
|
ToolStripSeparator4 = new ToolStripSeparator();
|
|
PrintToolStripMenuItem = new ToolStripMenuItem();
|
|
PrintPreviewToolStripMenuItem = new ToolStripMenuItem();
|
|
PrintSetupToolStripMenuItem = new ToolStripMenuItem();
|
|
ToolStripSeparator5 = new ToolStripSeparator();
|
|
ExitToolStripMenuItem = new ToolStripMenuItem();
|
|
TypeMenu = new ToolStripMenuItem();
|
|
机型信息MToolStripMenuItem = new ToolStripMenuItem();
|
|
EditMenuList = new ToolStripMenuItem();
|
|
信道信息CToolStripMenuItem = new ToolStripMenuItem();
|
|
ToolStripSeparator9 = new ToolStripSeparator();
|
|
整机信息OToolStripMenuItem = new ToolStripMenuItem();
|
|
扫描信息SToolStripMenuItem = new ToolStripMenuItem();
|
|
提示音AToolStripMenuItem = new ToolStripMenuItem();
|
|
ToolStripSeparator10 = new ToolStripSeparator();
|
|
双音多频DToolStripMenuItem = new ToolStripMenuItem();
|
|
两音TToolStripMenuItem = new ToolStripMenuItem();
|
|
五音FToolStripMenuItem = new ToolStripMenuItem();
|
|
ToolStripSeparator11 = new ToolStripSeparator();
|
|
紧急报警信息EToolStripMenuItem = new ToolStripMenuItem();
|
|
ToolStripSeparator15 = new ToolStripSeparator();
|
|
收音机存储信道JToolStripMenuItem = new ToolStripMenuItem();
|
|
ToolStripSeparator12 = new ToolStripSeparator();
|
|
嵌入信息IToolStripMenuItem = new ToolStripMenuItem();
|
|
对讲机信息RToolStripMenuItem = new ToolStripMenuItem();
|
|
ProgrammeMenu = new ToolStripMenuItem();
|
|
从对讲机读取数据RToolStripMenuItem = new ToolStripMenuItem();
|
|
向对讲机写入数据WToolStripMenuItem = new ToolStripMenuItem();
|
|
SetMenu = new ToolStripMenuItem();
|
|
语言设置LToolStripMenuItem = new ToolStripMenuItem();
|
|
中文ToolStripMenuItem = new ToolStripMenuItem();
|
|
英文ToolStripMenuItem = new ToolStripMenuItem();
|
|
通信端口PToolStripMenuItem = new ToolStripMenuItem();
|
|
更改密码CToolStripMenuItem = new ToolStripMenuItem();
|
|
ViewMenu = new ToolStripMenuItem();
|
|
TreeViewToolStripMenuItem = new ToolStripMenuItem();
|
|
ToolBarToolStripMenuItem = new ToolStripMenuItem();
|
|
StatusBarToolStripMenuItem = new ToolStripMenuItem();
|
|
WindowsMenu = new ToolStripMenuItem();
|
|
NewWindowToolStripMenuItem = new ToolStripMenuItem();
|
|
CascadeToolStripMenuItem = new ToolStripMenuItem();
|
|
TileVerticalToolStripMenuItem = new ToolStripMenuItem();
|
|
TileHorizontalToolStripMenuItem = new ToolStripMenuItem();
|
|
ArrangeIconsToolStripMenuItem = new ToolStripMenuItem();
|
|
ToolStripSeparator13 = new ToolStripSeparator();
|
|
CloseAllToolStripMenuItem = new ToolStripMenuItem();
|
|
ToolStripSeparator14 = new ToolStripSeparator();
|
|
HelpMenu = new ToolStripMenuItem();
|
|
ContentsToolStripMenuItem = new ToolStripMenuItem();
|
|
IndexToolStripMenuItem = new ToolStripMenuItem();
|
|
SearchToolStripMenuItem = new ToolStripMenuItem();
|
|
ToolStripSeparator8 = new ToolStripSeparator();
|
|
帮助主题HToolStripMenuItem = new ToolStripMenuItem();
|
|
AboutToolStripMenuItem = new ToolStripMenuItem();
|
|
EditMenu = new ToolStripMenuItem();
|
|
UndoToolStripMenuItem = new ToolStripMenuItem();
|
|
RedoToolStripMenuItem = new ToolStripMenuItem();
|
|
ToolStripSeparator6 = new ToolStripSeparator();
|
|
CutToolStripMenuItem = new ToolStripMenuItem();
|
|
CopyToolStripMenuItem = new ToolStripMenuItem();
|
|
PasteToolStripMenuItem = new ToolStripMenuItem();
|
|
ToolStripSeparator7 = new ToolStripSeparator();
|
|
SelectAllToolStripMenuItem = new ToolStripMenuItem();
|
|
ToolsMenu = new ToolStripMenuItem();
|
|
OptionsToolStripMenuItem = new ToolStripMenuItem();
|
|
ToolStrip = new ToolStrip();
|
|
NewToolStripButton = new ToolStripButton();
|
|
OpenToolStripButton = new ToolStripButton();
|
|
SaveToolStripButton = new ToolStripButton();
|
|
ToolStripSeparator1 = new ToolStripSeparator();
|
|
PrintToolStripButton = new ToolStripButton();
|
|
PrintPreviewToolStripButton = new ToolStripButton();
|
|
ToolStripSeparator2 = new ToolStripSeparator();
|
|
ReadToolStripButton = new ToolStripButton();
|
|
ComPortToolStripButton = new ToolStripButton();
|
|
WriteToolStripButton = new ToolStripButton();
|
|
ToolStripSeparator16 = new ToolStripSeparator();
|
|
HelpToolStripButton = new ToolStripButton();
|
|
StatusStrip = new StatusStrip();
|
|
ToolStripStatusLabel = new ToolStripStatusLabel();
|
|
ToolTip = new ToolTip(components);
|
|
Panel1 = new Panel();
|
|
EditMenuListTreeView = new TreeView();
|
|
SerialPort1 = new SerialPort(components);
|
|
Timer1 = new System.Windows.Forms.Timer(components);
|
|
MenuStrip.SuspendLayout();
|
|
ToolStrip.SuspendLayout();
|
|
StatusStrip.SuspendLayout();
|
|
Panel1.SuspendLayout();
|
|
SuspendLayout();
|
|
MenuStrip.AccessibleDescription = (string) null;
|
|
MenuStrip.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) MenuStrip, "MenuStrip");
|
|
MenuStrip.BackgroundImage = (Image) null;
|
|
MenuStrip.Font = (Font) null;
|
|
MenuStrip.Items.AddRange(new ToolStripItem[10]
|
|
{
|
|
(ToolStripItem) FileMenu,
|
|
(ToolStripItem) TypeMenu,
|
|
(ToolStripItem) EditMenuList,
|
|
(ToolStripItem) ProgrammeMenu,
|
|
(ToolStripItem) SetMenu,
|
|
(ToolStripItem) ViewMenu,
|
|
(ToolStripItem) WindowsMenu,
|
|
(ToolStripItem) HelpMenu,
|
|
(ToolStripItem) EditMenu,
|
|
(ToolStripItem) ToolsMenu
|
|
});
|
|
MenuStrip.MdiWindowListItem = WindowsMenu;
|
|
MenuStrip.Name = "MenuStrip";
|
|
ToolTip.SetToolTip((Control) MenuStrip, componentResourceManager.GetString("MenuStrip.ToolTip"));
|
|
FileMenu.AccessibleDescription = (string) null;
|
|
FileMenu.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) FileMenu, "FileMenu");
|
|
FileMenu.BackgroundImage = (Image) null;
|
|
FileMenu.DropDownItems.AddRange(new ToolStripItem[11]
|
|
{
|
|
(ToolStripItem) NewToolStripMenuItem,
|
|
(ToolStripItem) OpenToolStripMenuItem,
|
|
(ToolStripItem) ToolStripSeparator3,
|
|
(ToolStripItem) SaveToolStripMenuItem,
|
|
(ToolStripItem) SaveAsToolStripMenuItem,
|
|
(ToolStripItem) ToolStripSeparator4,
|
|
(ToolStripItem) PrintToolStripMenuItem,
|
|
(ToolStripItem) PrintPreviewToolStripMenuItem,
|
|
(ToolStripItem) PrintSetupToolStripMenuItem,
|
|
(ToolStripItem) ToolStripSeparator5,
|
|
(ToolStripItem) ExitToolStripMenuItem
|
|
});
|
|
FileMenu.Name = "FileMenu";
|
|
FileMenu.ShortcutKeyDisplayString = (string) null;
|
|
NewToolStripMenuItem.AccessibleDescription = (string) null;
|
|
NewToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) NewToolStripMenuItem, "NewToolStripMenuItem");
|
|
NewToolStripMenuItem.BackgroundImage = (Image) null;
|
|
NewToolStripMenuItem.Name = "NewToolStripMenuItem";
|
|
NewToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
OpenToolStripMenuItem.AccessibleDescription = (string) null;
|
|
OpenToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) OpenToolStripMenuItem, "OpenToolStripMenuItem");
|
|
OpenToolStripMenuItem.BackgroundImage = (Image) null;
|
|
OpenToolStripMenuItem.Name = "OpenToolStripMenuItem";
|
|
OpenToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ToolStripSeparator3.AccessibleDescription = (string) null;
|
|
ToolStripSeparator3.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripSeparator3, "ToolStripSeparator3");
|
|
ToolStripSeparator3.Name = "ToolStripSeparator3";
|
|
SaveToolStripMenuItem.AccessibleDescription = (string) null;
|
|
SaveToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) SaveToolStripMenuItem, "SaveToolStripMenuItem");
|
|
SaveToolStripMenuItem.BackgroundImage = (Image) null;
|
|
SaveToolStripMenuItem.Name = "SaveToolStripMenuItem";
|
|
SaveToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
SaveAsToolStripMenuItem.AccessibleDescription = (string) null;
|
|
SaveAsToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) SaveAsToolStripMenuItem, "SaveAsToolStripMenuItem");
|
|
SaveAsToolStripMenuItem.BackgroundImage = (Image) null;
|
|
SaveAsToolStripMenuItem.Name = "SaveAsToolStripMenuItem";
|
|
SaveAsToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ToolStripSeparator4.AccessibleDescription = (string) null;
|
|
ToolStripSeparator4.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripSeparator4, "ToolStripSeparator4");
|
|
ToolStripSeparator4.Name = "ToolStripSeparator4";
|
|
PrintToolStripMenuItem.AccessibleDescription = (string) null;
|
|
PrintToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) PrintToolStripMenuItem, "PrintToolStripMenuItem");
|
|
PrintToolStripMenuItem.BackgroundImage = (Image) null;
|
|
PrintToolStripMenuItem.Name = "PrintToolStripMenuItem";
|
|
PrintToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
PrintPreviewToolStripMenuItem.AccessibleDescription = (string) null;
|
|
PrintPreviewToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) PrintPreviewToolStripMenuItem, "PrintPreviewToolStripMenuItem");
|
|
PrintPreviewToolStripMenuItem.BackgroundImage = (Image) null;
|
|
PrintPreviewToolStripMenuItem.Name = "PrintPreviewToolStripMenuItem";
|
|
PrintPreviewToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
PrintSetupToolStripMenuItem.AccessibleDescription = (string) null;
|
|
PrintSetupToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) PrintSetupToolStripMenuItem, "PrintSetupToolStripMenuItem");
|
|
PrintSetupToolStripMenuItem.BackgroundImage = (Image) null;
|
|
PrintSetupToolStripMenuItem.Name = "PrintSetupToolStripMenuItem";
|
|
PrintSetupToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ToolStripSeparator5.AccessibleDescription = (string) null;
|
|
ToolStripSeparator5.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripSeparator5, "ToolStripSeparator5");
|
|
ToolStripSeparator5.Name = "ToolStripSeparator5";
|
|
ExitToolStripMenuItem.AccessibleDescription = (string) null;
|
|
ExitToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ExitToolStripMenuItem, "ExitToolStripMenuItem");
|
|
ExitToolStripMenuItem.BackgroundImage = (Image) null;
|
|
ExitToolStripMenuItem.Name = "ExitToolStripMenuItem";
|
|
ExitToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
TypeMenu.AccessibleDescription = (string) null;
|
|
TypeMenu.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) TypeMenu, "TypeMenu");
|
|
TypeMenu.BackgroundImage = (Image) null;
|
|
TypeMenu.DropDownItems.AddRange(new ToolStripItem[1]
|
|
{
|
|
(ToolStripItem) 机型信息MToolStripMenuItem
|
|
});
|
|
TypeMenu.Name = "TypeMenu";
|
|
TypeMenu.ShortcutKeyDisplayString = (string) null;
|
|
机型信息MToolStripMenuItem.AccessibleDescription = (string) null;
|
|
机型信息MToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 机型信息MToolStripMenuItem, "机型信息MToolStripMenuItem");
|
|
机型信息MToolStripMenuItem.BackgroundImage = (Image) null;
|
|
机型信息MToolStripMenuItem.Name = "机型信息MToolStripMenuItem";
|
|
机型信息MToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
EditMenuList.AccessibleDescription = (string) null;
|
|
EditMenuList.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) EditMenuList, "EditMenuList");
|
|
EditMenuList.BackgroundImage = (Image) null;
|
|
EditMenuList.DropDownItems.AddRange(new ToolStripItem[16]
|
|
{
|
|
(ToolStripItem) 信道信息CToolStripMenuItem,
|
|
(ToolStripItem) ToolStripSeparator9,
|
|
(ToolStripItem) 整机信息OToolStripMenuItem,
|
|
(ToolStripItem) 扫描信息SToolStripMenuItem,
|
|
(ToolStripItem) 提示音AToolStripMenuItem,
|
|
(ToolStripItem) ToolStripSeparator10,
|
|
(ToolStripItem) 双音多频DToolStripMenuItem,
|
|
(ToolStripItem) 两音TToolStripMenuItem,
|
|
(ToolStripItem) 五音FToolStripMenuItem,
|
|
(ToolStripItem) ToolStripSeparator11,
|
|
(ToolStripItem) 紧急报警信息EToolStripMenuItem,
|
|
(ToolStripItem) ToolStripSeparator15,
|
|
(ToolStripItem) 收音机存储信道JToolStripMenuItem,
|
|
(ToolStripItem) ToolStripSeparator12,
|
|
(ToolStripItem) 嵌入信息IToolStripMenuItem,
|
|
(ToolStripItem) 对讲机信息RToolStripMenuItem
|
|
});
|
|
EditMenuList.Name = "EditMenuList";
|
|
EditMenuList.ShortcutKeyDisplayString = (string) null;
|
|
信道信息CToolStripMenuItem.AccessibleDescription = (string) null;
|
|
信道信息CToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 信道信息CToolStripMenuItem, "信道信息CToolStripMenuItem");
|
|
信道信息CToolStripMenuItem.BackgroundImage = (Image) null;
|
|
信道信息CToolStripMenuItem.Checked = true;
|
|
信道信息CToolStripMenuItem.CheckState = CheckState.Checked;
|
|
信道信息CToolStripMenuItem.Name = "信道信息CToolStripMenuItem";
|
|
信道信息CToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ToolStripSeparator9.AccessibleDescription = (string) null;
|
|
ToolStripSeparator9.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripSeparator9, "ToolStripSeparator9");
|
|
ToolStripSeparator9.Name = "ToolStripSeparator9";
|
|
整机信息OToolStripMenuItem.AccessibleDescription = (string) null;
|
|
整机信息OToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 整机信息OToolStripMenuItem, "整机信息OToolStripMenuItem");
|
|
整机信息OToolStripMenuItem.BackgroundImage = (Image) null;
|
|
整机信息OToolStripMenuItem.Name = "整机信息OToolStripMenuItem";
|
|
整机信息OToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
扫描信息SToolStripMenuItem.AccessibleDescription = (string) null;
|
|
扫描信息SToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 扫描信息SToolStripMenuItem, "扫描信息SToolStripMenuItem");
|
|
扫描信息SToolStripMenuItem.BackgroundImage = (Image) null;
|
|
扫描信息SToolStripMenuItem.Name = "扫描信息SToolStripMenuItem";
|
|
扫描信息SToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
提示音AToolStripMenuItem.AccessibleDescription = (string) null;
|
|
提示音AToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 提示音AToolStripMenuItem, "提示音AToolStripMenuItem");
|
|
提示音AToolStripMenuItem.BackgroundImage = (Image) null;
|
|
提示音AToolStripMenuItem.Name = "提示音AToolStripMenuItem";
|
|
提示音AToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ToolStripSeparator10.AccessibleDescription = (string) null;
|
|
ToolStripSeparator10.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripSeparator10, "ToolStripSeparator10");
|
|
ToolStripSeparator10.Name = "ToolStripSeparator10";
|
|
双音多频DToolStripMenuItem.AccessibleDescription = (string) null;
|
|
双音多频DToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 双音多频DToolStripMenuItem, "双音多频DToolStripMenuItem");
|
|
双音多频DToolStripMenuItem.BackgroundImage = (Image) null;
|
|
双音多频DToolStripMenuItem.Name = "双音多频DToolStripMenuItem";
|
|
双音多频DToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
两音TToolStripMenuItem.AccessibleDescription = (string) null;
|
|
两音TToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 两音TToolStripMenuItem, "两音TToolStripMenuItem");
|
|
两音TToolStripMenuItem.BackgroundImage = (Image) null;
|
|
两音TToolStripMenuItem.Name = "两音TToolStripMenuItem";
|
|
两音TToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
五音FToolStripMenuItem.AccessibleDescription = (string) null;
|
|
五音FToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 五音FToolStripMenuItem, "五音FToolStripMenuItem");
|
|
五音FToolStripMenuItem.BackgroundImage = (Image) null;
|
|
五音FToolStripMenuItem.Name = "五音FToolStripMenuItem";
|
|
五音FToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ToolStripSeparator11.AccessibleDescription = (string) null;
|
|
ToolStripSeparator11.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripSeparator11, "ToolStripSeparator11");
|
|
ToolStripSeparator11.Name = "ToolStripSeparator11";
|
|
紧急报警信息EToolStripMenuItem.AccessibleDescription = (string) null;
|
|
紧急报警信息EToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 紧急报警信息EToolStripMenuItem, "紧急报警信息EToolStripMenuItem");
|
|
紧急报警信息EToolStripMenuItem.BackgroundImage = (Image) null;
|
|
紧急报警信息EToolStripMenuItem.Name = "紧急报警信息EToolStripMenuItem";
|
|
紧急报警信息EToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ToolStripSeparator15.AccessibleDescription = (string) null;
|
|
ToolStripSeparator15.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripSeparator15, "ToolStripSeparator15");
|
|
ToolStripSeparator15.Name = "ToolStripSeparator15";
|
|
收音机存储信道JToolStripMenuItem.AccessibleDescription = (string) null;
|
|
收音机存储信道JToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 收音机存储信道JToolStripMenuItem, "收音机存储信道JToolStripMenuItem");
|
|
收音机存储信道JToolStripMenuItem.BackgroundImage = (Image) null;
|
|
收音机存储信道JToolStripMenuItem.Name = "收音机存储信道JToolStripMenuItem";
|
|
收音机存储信道JToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ToolStripSeparator12.AccessibleDescription = (string) null;
|
|
ToolStripSeparator12.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripSeparator12, "ToolStripSeparator12");
|
|
ToolStripSeparator12.Name = "ToolStripSeparator12";
|
|
嵌入信息IToolStripMenuItem.AccessibleDescription = (string) null;
|
|
嵌入信息IToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 嵌入信息IToolStripMenuItem, "嵌入信息IToolStripMenuItem");
|
|
嵌入信息IToolStripMenuItem.BackgroundImage = (Image) null;
|
|
嵌入信息IToolStripMenuItem.Name = "嵌入信息IToolStripMenuItem";
|
|
嵌入信息IToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
对讲机信息RToolStripMenuItem.AccessibleDescription = (string) null;
|
|
对讲机信息RToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 对讲机信息RToolStripMenuItem, "对讲机信息RToolStripMenuItem");
|
|
对讲机信息RToolStripMenuItem.BackgroundImage = (Image) null;
|
|
对讲机信息RToolStripMenuItem.Name = "对讲机信息RToolStripMenuItem";
|
|
对讲机信息RToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ProgrammeMenu.AccessibleDescription = (string) null;
|
|
ProgrammeMenu.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ProgrammeMenu, "ProgrammeMenu");
|
|
ProgrammeMenu.BackgroundImage = (Image) null;
|
|
ProgrammeMenu.DropDownItems.AddRange(new ToolStripItem[2]
|
|
{
|
|
(ToolStripItem) 从对讲机读取数据RToolStripMenuItem,
|
|
(ToolStripItem) 向对讲机写入数据WToolStripMenuItem
|
|
});
|
|
ProgrammeMenu.Name = "ProgrammeMenu";
|
|
ProgrammeMenu.ShortcutKeyDisplayString = (string) null;
|
|
从对讲机读取数据RToolStripMenuItem.AccessibleDescription = (string) null;
|
|
从对讲机读取数据RToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 从对讲机读取数据RToolStripMenuItem, "从对讲机读取数据RToolStripMenuItem");
|
|
从对讲机读取数据RToolStripMenuItem.BackgroundImage = (Image) null;
|
|
从对讲机读取数据RToolStripMenuItem.Name = "从对讲机读取数据RToolStripMenuItem";
|
|
从对讲机读取数据RToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
向对讲机写入数据WToolStripMenuItem.AccessibleDescription = (string) null;
|
|
向对讲机写入数据WToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 向对讲机写入数据WToolStripMenuItem, "向对讲机写入数据WToolStripMenuItem");
|
|
向对讲机写入数据WToolStripMenuItem.BackgroundImage = (Image) null;
|
|
向对讲机写入数据WToolStripMenuItem.Name = "向对讲机写入数据WToolStripMenuItem";
|
|
向对讲机写入数据WToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
SetMenu.AccessibleDescription = (string) null;
|
|
SetMenu.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) SetMenu, "SetMenu");
|
|
SetMenu.BackgroundImage = (Image) null;
|
|
SetMenu.DropDownItems.AddRange(new ToolStripItem[3]
|
|
{
|
|
(ToolStripItem) 语言设置LToolStripMenuItem,
|
|
(ToolStripItem) 通信端口PToolStripMenuItem,
|
|
(ToolStripItem) 更改密码CToolStripMenuItem
|
|
});
|
|
SetMenu.Name = "SetMenu";
|
|
SetMenu.ShortcutKeyDisplayString = (string) null;
|
|
语言设置LToolStripMenuItem.AccessibleDescription = (string) null;
|
|
语言设置LToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 语言设置LToolStripMenuItem, "语言设置LToolStripMenuItem");
|
|
语言设置LToolStripMenuItem.BackgroundImage = (Image) null;
|
|
语言设置LToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[2]
|
|
{
|
|
(ToolStripItem) 中文ToolStripMenuItem,
|
|
(ToolStripItem) 英文ToolStripMenuItem
|
|
});
|
|
语言设置LToolStripMenuItem.Name = "语言设置LToolStripMenuItem";
|
|
语言设置LToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
中文ToolStripMenuItem.AccessibleDescription = (string) null;
|
|
中文ToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 中文ToolStripMenuItem, "中文ToolStripMenuItem");
|
|
中文ToolStripMenuItem.BackgroundImage = (Image) null;
|
|
中文ToolStripMenuItem.Checked = true;
|
|
中文ToolStripMenuItem.CheckState = CheckState.Checked;
|
|
中文ToolStripMenuItem.Name = "中文ToolStripMenuItem";
|
|
中文ToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
英文ToolStripMenuItem.AccessibleDescription = (string) null;
|
|
英文ToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 英文ToolStripMenuItem, "英文ToolStripMenuItem");
|
|
英文ToolStripMenuItem.BackgroundImage = (Image) null;
|
|
英文ToolStripMenuItem.Name = "英文ToolStripMenuItem";
|
|
英文ToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
通信端口PToolStripMenuItem.AccessibleDescription = (string) null;
|
|
通信端口PToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 通信端口PToolStripMenuItem, "通信端口PToolStripMenuItem");
|
|
通信端口PToolStripMenuItem.BackgroundImage = (Image) null;
|
|
通信端口PToolStripMenuItem.Name = "通信端口PToolStripMenuItem";
|
|
通信端口PToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
更改密码CToolStripMenuItem.AccessibleDescription = (string) null;
|
|
更改密码CToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 更改密码CToolStripMenuItem, "更改密码CToolStripMenuItem");
|
|
更改密码CToolStripMenuItem.BackgroundImage = (Image) null;
|
|
更改密码CToolStripMenuItem.Name = "更改密码CToolStripMenuItem";
|
|
更改密码CToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ViewMenu.AccessibleDescription = (string) null;
|
|
ViewMenu.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ViewMenu, "ViewMenu");
|
|
ViewMenu.BackgroundImage = (Image) null;
|
|
ViewMenu.DropDownItems.AddRange(new ToolStripItem[3]
|
|
{
|
|
(ToolStripItem) TreeViewToolStripMenuItem,
|
|
(ToolStripItem) ToolBarToolStripMenuItem,
|
|
(ToolStripItem) StatusBarToolStripMenuItem
|
|
});
|
|
ViewMenu.Name = "ViewMenu";
|
|
ViewMenu.ShortcutKeyDisplayString = (string) null;
|
|
TreeViewToolStripMenuItem.AccessibleDescription = (string) null;
|
|
TreeViewToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) TreeViewToolStripMenuItem, "TreeViewToolStripMenuItem");
|
|
TreeViewToolStripMenuItem.BackgroundImage = (Image) null;
|
|
TreeViewToolStripMenuItem.Checked = true;
|
|
TreeViewToolStripMenuItem.CheckOnClick = true;
|
|
TreeViewToolStripMenuItem.CheckState = CheckState.Checked;
|
|
TreeViewToolStripMenuItem.Name = "TreeViewToolStripMenuItem";
|
|
TreeViewToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ToolBarToolStripMenuItem.AccessibleDescription = (string) null;
|
|
ToolBarToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolBarToolStripMenuItem, "ToolBarToolStripMenuItem");
|
|
ToolBarToolStripMenuItem.BackgroundImage = (Image) null;
|
|
ToolBarToolStripMenuItem.Checked = true;
|
|
ToolBarToolStripMenuItem.CheckOnClick = true;
|
|
ToolBarToolStripMenuItem.CheckState = CheckState.Checked;
|
|
ToolBarToolStripMenuItem.Name = "ToolBarToolStripMenuItem";
|
|
ToolBarToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
StatusBarToolStripMenuItem.AccessibleDescription = (string) null;
|
|
StatusBarToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) StatusBarToolStripMenuItem, "StatusBarToolStripMenuItem");
|
|
StatusBarToolStripMenuItem.BackgroundImage = (Image) null;
|
|
StatusBarToolStripMenuItem.Checked = true;
|
|
StatusBarToolStripMenuItem.CheckOnClick = true;
|
|
StatusBarToolStripMenuItem.CheckState = CheckState.Checked;
|
|
StatusBarToolStripMenuItem.Name = "StatusBarToolStripMenuItem";
|
|
StatusBarToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
WindowsMenu.AccessibleDescription = (string) null;
|
|
WindowsMenu.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) WindowsMenu, "WindowsMenu");
|
|
WindowsMenu.BackgroundImage = (Image) null;
|
|
WindowsMenu.DropDownItems.AddRange(new ToolStripItem[8]
|
|
{
|
|
(ToolStripItem) NewWindowToolStripMenuItem,
|
|
(ToolStripItem) CascadeToolStripMenuItem,
|
|
(ToolStripItem) TileVerticalToolStripMenuItem,
|
|
(ToolStripItem) TileHorizontalToolStripMenuItem,
|
|
(ToolStripItem) ArrangeIconsToolStripMenuItem,
|
|
(ToolStripItem) ToolStripSeparator13,
|
|
(ToolStripItem) CloseAllToolStripMenuItem,
|
|
(ToolStripItem) ToolStripSeparator14
|
|
});
|
|
WindowsMenu.Name = "WindowsMenu";
|
|
WindowsMenu.ShortcutKeyDisplayString = (string) null;
|
|
NewWindowToolStripMenuItem.AccessibleDescription = (string) null;
|
|
NewWindowToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) NewWindowToolStripMenuItem, "NewWindowToolStripMenuItem");
|
|
NewWindowToolStripMenuItem.BackgroundImage = (Image) null;
|
|
NewWindowToolStripMenuItem.Name = "NewWindowToolStripMenuItem";
|
|
NewWindowToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
CascadeToolStripMenuItem.AccessibleDescription = (string) null;
|
|
CascadeToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) CascadeToolStripMenuItem, "CascadeToolStripMenuItem");
|
|
CascadeToolStripMenuItem.BackgroundImage = (Image) null;
|
|
CascadeToolStripMenuItem.Name = "CascadeToolStripMenuItem";
|
|
CascadeToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
TileVerticalToolStripMenuItem.AccessibleDescription = (string) null;
|
|
TileVerticalToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) TileVerticalToolStripMenuItem, "TileVerticalToolStripMenuItem");
|
|
TileVerticalToolStripMenuItem.BackgroundImage = (Image) null;
|
|
TileVerticalToolStripMenuItem.Name = "TileVerticalToolStripMenuItem";
|
|
TileVerticalToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
TileHorizontalToolStripMenuItem.AccessibleDescription = (string) null;
|
|
TileHorizontalToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) TileHorizontalToolStripMenuItem, "TileHorizontalToolStripMenuItem");
|
|
TileHorizontalToolStripMenuItem.BackgroundImage = (Image) null;
|
|
TileHorizontalToolStripMenuItem.Name = "TileHorizontalToolStripMenuItem";
|
|
TileHorizontalToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ArrangeIconsToolStripMenuItem.AccessibleDescription = (string) null;
|
|
ArrangeIconsToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ArrangeIconsToolStripMenuItem, "ArrangeIconsToolStripMenuItem");
|
|
ArrangeIconsToolStripMenuItem.BackgroundImage = (Image) null;
|
|
ArrangeIconsToolStripMenuItem.Name = "ArrangeIconsToolStripMenuItem";
|
|
ArrangeIconsToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ToolStripSeparator13.AccessibleDescription = (string) null;
|
|
ToolStripSeparator13.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripSeparator13, "ToolStripSeparator13");
|
|
ToolStripSeparator13.Name = "ToolStripSeparator13";
|
|
CloseAllToolStripMenuItem.AccessibleDescription = (string) null;
|
|
CloseAllToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) CloseAllToolStripMenuItem, "CloseAllToolStripMenuItem");
|
|
CloseAllToolStripMenuItem.BackgroundImage = (Image) null;
|
|
CloseAllToolStripMenuItem.Name = "CloseAllToolStripMenuItem";
|
|
CloseAllToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ToolStripSeparator14.AccessibleDescription = (string) null;
|
|
ToolStripSeparator14.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripSeparator14, "ToolStripSeparator14");
|
|
ToolStripSeparator14.Name = "ToolStripSeparator14";
|
|
HelpMenu.AccessibleDescription = (string) null;
|
|
HelpMenu.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) HelpMenu, "HelpMenu");
|
|
HelpMenu.BackgroundImage = (Image) null;
|
|
HelpMenu.DropDownItems.AddRange(new ToolStripItem[6]
|
|
{
|
|
(ToolStripItem) ContentsToolStripMenuItem,
|
|
(ToolStripItem) IndexToolStripMenuItem,
|
|
(ToolStripItem) SearchToolStripMenuItem,
|
|
(ToolStripItem) ToolStripSeparator8,
|
|
(ToolStripItem) 帮助主题HToolStripMenuItem,
|
|
(ToolStripItem) AboutToolStripMenuItem
|
|
});
|
|
HelpMenu.Name = "HelpMenu";
|
|
HelpMenu.ShortcutKeyDisplayString = (string) null;
|
|
ContentsToolStripMenuItem.AccessibleDescription = (string) null;
|
|
ContentsToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ContentsToolStripMenuItem, "ContentsToolStripMenuItem");
|
|
ContentsToolStripMenuItem.BackgroundImage = (Image) null;
|
|
ContentsToolStripMenuItem.Name = "ContentsToolStripMenuItem";
|
|
ContentsToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
IndexToolStripMenuItem.AccessibleDescription = (string) null;
|
|
IndexToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) IndexToolStripMenuItem, "IndexToolStripMenuItem");
|
|
IndexToolStripMenuItem.BackgroundImage = (Image) null;
|
|
IndexToolStripMenuItem.Name = "IndexToolStripMenuItem";
|
|
IndexToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
SearchToolStripMenuItem.AccessibleDescription = (string) null;
|
|
SearchToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) SearchToolStripMenuItem, "SearchToolStripMenuItem");
|
|
SearchToolStripMenuItem.BackgroundImage = (Image) null;
|
|
SearchToolStripMenuItem.Name = "SearchToolStripMenuItem";
|
|
SearchToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ToolStripSeparator8.AccessibleDescription = (string) null;
|
|
ToolStripSeparator8.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripSeparator8, "ToolStripSeparator8");
|
|
ToolStripSeparator8.Name = "ToolStripSeparator8";
|
|
帮助主题HToolStripMenuItem.AccessibleDescription = (string) null;
|
|
帮助主题HToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) 帮助主题HToolStripMenuItem, "帮助主题HToolStripMenuItem");
|
|
帮助主题HToolStripMenuItem.BackgroundImage = (Image) null;
|
|
帮助主题HToolStripMenuItem.Name = "帮助主题HToolStripMenuItem";
|
|
帮助主题HToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
AboutToolStripMenuItem.AccessibleDescription = (string) null;
|
|
AboutToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) AboutToolStripMenuItem, "AboutToolStripMenuItem");
|
|
AboutToolStripMenuItem.BackgroundImage = (Image) null;
|
|
AboutToolStripMenuItem.Name = "AboutToolStripMenuItem";
|
|
AboutToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
EditMenu.AccessibleDescription = (string) null;
|
|
EditMenu.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) EditMenu, "EditMenu");
|
|
EditMenu.BackgroundImage = (Image) null;
|
|
EditMenu.DropDownItems.AddRange(new ToolStripItem[8]
|
|
{
|
|
(ToolStripItem) UndoToolStripMenuItem,
|
|
(ToolStripItem) RedoToolStripMenuItem,
|
|
(ToolStripItem) ToolStripSeparator6,
|
|
(ToolStripItem) CutToolStripMenuItem,
|
|
(ToolStripItem) CopyToolStripMenuItem,
|
|
(ToolStripItem) PasteToolStripMenuItem,
|
|
(ToolStripItem) ToolStripSeparator7,
|
|
(ToolStripItem) SelectAllToolStripMenuItem
|
|
});
|
|
EditMenu.Name = "EditMenu";
|
|
EditMenu.ShortcutKeyDisplayString = (string) null;
|
|
UndoToolStripMenuItem.AccessibleDescription = (string) null;
|
|
UndoToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) UndoToolStripMenuItem, "UndoToolStripMenuItem");
|
|
UndoToolStripMenuItem.BackgroundImage = (Image) null;
|
|
UndoToolStripMenuItem.Name = "UndoToolStripMenuItem";
|
|
UndoToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
RedoToolStripMenuItem.AccessibleDescription = (string) null;
|
|
RedoToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) RedoToolStripMenuItem, "RedoToolStripMenuItem");
|
|
RedoToolStripMenuItem.BackgroundImage = (Image) null;
|
|
RedoToolStripMenuItem.Name = "RedoToolStripMenuItem";
|
|
RedoToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ToolStripSeparator6.AccessibleDescription = (string) null;
|
|
ToolStripSeparator6.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripSeparator6, "ToolStripSeparator6");
|
|
ToolStripSeparator6.Name = "ToolStripSeparator6";
|
|
CutToolStripMenuItem.AccessibleDescription = (string) null;
|
|
CutToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) CutToolStripMenuItem, "CutToolStripMenuItem");
|
|
CutToolStripMenuItem.BackgroundImage = (Image) null;
|
|
CutToolStripMenuItem.Name = "CutToolStripMenuItem";
|
|
CutToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
CopyToolStripMenuItem.AccessibleDescription = (string) null;
|
|
CopyToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) CopyToolStripMenuItem, "CopyToolStripMenuItem");
|
|
CopyToolStripMenuItem.BackgroundImage = (Image) null;
|
|
CopyToolStripMenuItem.Name = "CopyToolStripMenuItem";
|
|
CopyToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
PasteToolStripMenuItem.AccessibleDescription = (string) null;
|
|
PasteToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) PasteToolStripMenuItem, "PasteToolStripMenuItem");
|
|
PasteToolStripMenuItem.BackgroundImage = (Image) null;
|
|
PasteToolStripMenuItem.Name = "PasteToolStripMenuItem";
|
|
PasteToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ToolStripSeparator7.AccessibleDescription = (string) null;
|
|
ToolStripSeparator7.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripSeparator7, "ToolStripSeparator7");
|
|
ToolStripSeparator7.Name = "ToolStripSeparator7";
|
|
SelectAllToolStripMenuItem.AccessibleDescription = (string) null;
|
|
SelectAllToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) SelectAllToolStripMenuItem, "SelectAllToolStripMenuItem");
|
|
SelectAllToolStripMenuItem.BackgroundImage = (Image) null;
|
|
SelectAllToolStripMenuItem.Name = "SelectAllToolStripMenuItem";
|
|
SelectAllToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ToolsMenu.AccessibleDescription = (string) null;
|
|
ToolsMenu.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolsMenu, "ToolsMenu");
|
|
ToolsMenu.BackgroundImage = (Image) null;
|
|
ToolsMenu.DropDownItems.AddRange(new ToolStripItem[1]
|
|
{
|
|
(ToolStripItem) OptionsToolStripMenuItem
|
|
});
|
|
ToolsMenu.Name = "ToolsMenu";
|
|
ToolsMenu.ShortcutKeyDisplayString = (string) null;
|
|
OptionsToolStripMenuItem.AccessibleDescription = (string) null;
|
|
OptionsToolStripMenuItem.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) OptionsToolStripMenuItem, "OptionsToolStripMenuItem");
|
|
OptionsToolStripMenuItem.BackgroundImage = (Image) null;
|
|
OptionsToolStripMenuItem.Name = "OptionsToolStripMenuItem";
|
|
OptionsToolStripMenuItem.ShortcutKeyDisplayString = (string) null;
|
|
ToolStrip.AccessibleDescription = (string) null;
|
|
ToolStrip.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStrip, "ToolStrip");
|
|
ToolStrip.BackgroundImage = (Image) null;
|
|
ToolStrip.Font = (Font) null;
|
|
ToolStrip.Items.AddRange(new ToolStripItem[12]
|
|
{
|
|
(ToolStripItem) NewToolStripButton,
|
|
(ToolStripItem) OpenToolStripButton,
|
|
(ToolStripItem) SaveToolStripButton,
|
|
(ToolStripItem) ToolStripSeparator1,
|
|
(ToolStripItem) PrintToolStripButton,
|
|
(ToolStripItem) PrintPreviewToolStripButton,
|
|
(ToolStripItem) ToolStripSeparator2,
|
|
(ToolStripItem) ReadToolStripButton,
|
|
(ToolStripItem) ComPortToolStripButton,
|
|
(ToolStripItem) WriteToolStripButton,
|
|
(ToolStripItem) ToolStripSeparator16,
|
|
(ToolStripItem) HelpToolStripButton
|
|
});
|
|
ToolStrip.Name = "ToolStrip";
|
|
ToolTip.SetToolTip((Control) ToolStrip, componentResourceManager.GetString("ToolStrip.ToolTip"));
|
|
NewToolStripButton.AccessibleDescription = (string) null;
|
|
NewToolStripButton.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) NewToolStripButton, "NewToolStripButton");
|
|
NewToolStripButton.BackgroundImage = (Image) null;
|
|
NewToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
|
|
NewToolStripButton.Name = "NewToolStripButton";
|
|
OpenToolStripButton.AccessibleDescription = (string) null;
|
|
OpenToolStripButton.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) OpenToolStripButton, "OpenToolStripButton");
|
|
OpenToolStripButton.BackgroundImage = (Image) null;
|
|
OpenToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
|
|
OpenToolStripButton.Name = "OpenToolStripButton";
|
|
SaveToolStripButton.AccessibleDescription = (string) null;
|
|
SaveToolStripButton.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) SaveToolStripButton, "SaveToolStripButton");
|
|
SaveToolStripButton.BackgroundImage = (Image) null;
|
|
SaveToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
|
|
SaveToolStripButton.Name = "SaveToolStripButton";
|
|
ToolStripSeparator1.AccessibleDescription = (string) null;
|
|
ToolStripSeparator1.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripSeparator1, "ToolStripSeparator1");
|
|
ToolStripSeparator1.Name = "ToolStripSeparator1";
|
|
PrintToolStripButton.AccessibleDescription = (string) null;
|
|
PrintToolStripButton.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) PrintToolStripButton, "PrintToolStripButton");
|
|
PrintToolStripButton.BackgroundImage = (Image) null;
|
|
PrintToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
|
|
PrintToolStripButton.Name = "PrintToolStripButton";
|
|
PrintPreviewToolStripButton.AccessibleDescription = (string) null;
|
|
PrintPreviewToolStripButton.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) PrintPreviewToolStripButton, "PrintPreviewToolStripButton");
|
|
PrintPreviewToolStripButton.BackgroundImage = (Image) null;
|
|
PrintPreviewToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
|
|
PrintPreviewToolStripButton.Name = "PrintPreviewToolStripButton";
|
|
ToolStripSeparator2.AccessibleDescription = (string) null;
|
|
ToolStripSeparator2.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripSeparator2, "ToolStripSeparator2");
|
|
ToolStripSeparator2.Name = "ToolStripSeparator2";
|
|
ReadToolStripButton.AccessibleDescription = (string) null;
|
|
ReadToolStripButton.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ReadToolStripButton, "ReadToolStripButton");
|
|
ReadToolStripButton.BackgroundImage = (Image) null;
|
|
ReadToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
|
|
ReadToolStripButton.Name = "ReadToolStripButton";
|
|
ComPortToolStripButton.AccessibleDescription = (string) null;
|
|
ComPortToolStripButton.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ComPortToolStripButton, "ComPortToolStripButton");
|
|
ComPortToolStripButton.BackgroundImage = (Image) null;
|
|
ComPortToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
|
|
ComPortToolStripButton.Name = "ComPortToolStripButton";
|
|
WriteToolStripButton.AccessibleDescription = (string) null;
|
|
WriteToolStripButton.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) WriteToolStripButton, "WriteToolStripButton");
|
|
WriteToolStripButton.BackgroundImage = (Image) null;
|
|
WriteToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
|
|
WriteToolStripButton.Name = "WriteToolStripButton";
|
|
ToolStripSeparator16.AccessibleDescription = (string) null;
|
|
ToolStripSeparator16.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripSeparator16, "ToolStripSeparator16");
|
|
ToolStripSeparator16.Name = "ToolStripSeparator16";
|
|
HelpToolStripButton.AccessibleDescription = (string) null;
|
|
HelpToolStripButton.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) HelpToolStripButton, "HelpToolStripButton");
|
|
HelpToolStripButton.BackgroundImage = (Image) null;
|
|
HelpToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
|
|
HelpToolStripButton.Name = "HelpToolStripButton";
|
|
StatusStrip.AccessibleDescription = (string) null;
|
|
StatusStrip.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) StatusStrip, "StatusStrip");
|
|
StatusStrip.BackgroundImage = (Image) null;
|
|
StatusStrip.Font = (Font) null;
|
|
StatusStrip.Items.AddRange(new ToolStripItem[1]
|
|
{
|
|
(ToolStripItem) ToolStripStatusLabel
|
|
});
|
|
StatusStrip.Name = "StatusStrip";
|
|
ToolTip.SetToolTip((Control) StatusStrip, componentResourceManager.GetString("StatusStrip.ToolTip"));
|
|
ToolStripStatusLabel.AccessibleDescription = (string) null;
|
|
ToolStripStatusLabel.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) ToolStripStatusLabel, "ToolStripStatusLabel");
|
|
ToolStripStatusLabel.BackgroundImage = (Image) null;
|
|
ToolStripStatusLabel.Name = "ToolStripStatusLabel";
|
|
Panel1.AccessibleDescription = (string) null;
|
|
Panel1.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) Panel1, "Panel1");
|
|
Panel1.BackgroundImage = (Image) null;
|
|
Panel1.BorderStyle = BorderStyle.Fixed3D;
|
|
Panel1.Controls.Add((Control) EditMenuListTreeView);
|
|
Panel1.Font = (Font) null;
|
|
Panel1.Name = "Panel1";
|
|
ToolTip.SetToolTip((Control) Panel1, componentResourceManager.GetString("Panel1.ToolTip"));
|
|
EditMenuListTreeView.AccessibleDescription = (string) null;
|
|
EditMenuListTreeView.AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) EditMenuListTreeView, "EditMenuListTreeView");
|
|
EditMenuListTreeView.BackgroundImage = (Image) null;
|
|
EditMenuListTreeView.Font = (Font) null;
|
|
EditMenuListTreeView.Name = "EditMenuListTreeView";
|
|
EditMenuListTreeView.Nodes.AddRange(new TreeNode[1]
|
|
{
|
|
(TreeNode) componentResourceManager.GetObject("EditMenuListTreeView.Nodes")
|
|
});
|
|
ToolTip.SetToolTip((Control) EditMenuListTreeView, componentResourceManager.GetString("EditMenuListTreeView.ToolTip"));
|
|
SerialPort1.BaudRate = 19200;
|
|
SerialPort1.DtrEnable = true;
|
|
SerialPort1.RtsEnable = true;
|
|
Timer1.Interval = 10;
|
|
AccessibleDescription = (string) null;
|
|
AccessibleName = (string) null;
|
|
componentResourceManager.ApplyResources((object) this, "$this");
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
Controls.Add((Control) Panel1);
|
|
Controls.Add((Control) ToolStrip);
|
|
Controls.Add((Control) MenuStrip);
|
|
Controls.Add((Control) StatusStrip);
|
|
DoubleBuffered = true;
|
|
Font = (Font) null;
|
|
IsMdiContainer = true;
|
|
MainMenuStrip = MenuStrip;
|
|
Name = nameof (MDIParent1);
|
|
ToolTip.SetToolTip((Control) this, componentResourceManager.GetString("$this.ToolTip"));
|
|
MenuStrip.ResumeLayout(false);
|
|
MenuStrip.PerformLayout();
|
|
ToolStrip.ResumeLayout(false);
|
|
ToolStrip.PerformLayout();
|
|
StatusStrip.ResumeLayout(false);
|
|
StatusStrip.PerformLayout();
|
|
Panel1.ResumeLayout(false);
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem ContentsToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _ContentsToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ContentsToolStripMenuItem = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem HelpMenu
|
|
{
|
|
[DebuggerNonUserCode] get => _HelpMenu;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_HelpMenu = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem IndexToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _IndexToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_IndexToolStripMenuItem = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem SearchToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _SearchToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_SearchToolStripMenuItem = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripSeparator ToolStripSeparator8
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripSeparator8;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripSeparator8 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem AboutToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _AboutToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_AboutToolStripMenuItem != null)
|
|
_AboutToolStripMenuItem.Click -= AboutToolStripMenuItem_Click;
|
|
_AboutToolStripMenuItem = value;
|
|
if (_AboutToolStripMenuItem == null)
|
|
return;
|
|
_AboutToolStripMenuItem.Click += AboutToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem ArrangeIconsToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _ArrangeIconsToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_ArrangeIconsToolStripMenuItem != null)
|
|
_ArrangeIconsToolStripMenuItem.Click -= ArrangeIconsToolStripMenuItem_Click;
|
|
_ArrangeIconsToolStripMenuItem = value;
|
|
if (_ArrangeIconsToolStripMenuItem == null)
|
|
return;
|
|
_ArrangeIconsToolStripMenuItem.Click += ArrangeIconsToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem CloseAllToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _CloseAllToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_CloseAllToolStripMenuItem != null)
|
|
_CloseAllToolStripMenuItem.Click -= CloseAllToolStripMenuItem_Click;
|
|
_CloseAllToolStripMenuItem = value;
|
|
if (_CloseAllToolStripMenuItem == null)
|
|
return;
|
|
_CloseAllToolStripMenuItem.Click += CloseAllToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem NewWindowToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _NewWindowToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_NewWindowToolStripMenuItem != null)
|
|
_NewWindowToolStripMenuItem.Click -= ShowNewForm;
|
|
_NewWindowToolStripMenuItem = value;
|
|
if (_NewWindowToolStripMenuItem == null)
|
|
return;
|
|
_NewWindowToolStripMenuItem.Click += ShowNewForm;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem WindowsMenu
|
|
{
|
|
[DebuggerNonUserCode] get => _WindowsMenu;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_WindowsMenu = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem CascadeToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _CascadeToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_CascadeToolStripMenuItem != null)
|
|
_CascadeToolStripMenuItem.Click -= CascadeToolStripMenuItem_Click;
|
|
_CascadeToolStripMenuItem = value;
|
|
if (_CascadeToolStripMenuItem == null)
|
|
return;
|
|
_CascadeToolStripMenuItem.Click += CascadeToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem TileVerticalToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _TileVerticalToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_TileVerticalToolStripMenuItem != null)
|
|
_TileVerticalToolStripMenuItem.Click -= TileVerticleToolStripMenuItem_Click;
|
|
_TileVerticalToolStripMenuItem = value;
|
|
if (_TileVerticalToolStripMenuItem == null)
|
|
return;
|
|
_TileVerticalToolStripMenuItem.Click += TileVerticleToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem TileHorizontalToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _TileHorizontalToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_TileHorizontalToolStripMenuItem != null)
|
|
_TileHorizontalToolStripMenuItem.Click -= TileHorizontalToolStripMenuItem_Click;
|
|
_TileHorizontalToolStripMenuItem = value;
|
|
if (_TileHorizontalToolStripMenuItem == null)
|
|
return;
|
|
_TileHorizontalToolStripMenuItem.Click += TileHorizontalToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem OptionsToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _OptionsToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_OptionsToolStripMenuItem = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripButton HelpToolStripButton
|
|
{
|
|
[DebuggerNonUserCode] get => _HelpToolStripButton;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_HelpToolStripButton = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripSeparator ToolStripSeparator2
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripSeparator2;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripSeparator2 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripButton PrintPreviewToolStripButton
|
|
{
|
|
[DebuggerNonUserCode] get => _PrintPreviewToolStripButton;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_PrintPreviewToolStripButton = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolTip ToolTip
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolTip;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolTip = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripStatusLabel ToolStripStatusLabel
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripStatusLabel;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripStatusLabel = value;
|
|
}
|
|
}
|
|
|
|
internal virtual StatusStrip StatusStrip
|
|
{
|
|
[DebuggerNonUserCode] get => _StatusStrip;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_StatusStrip = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripButton PrintToolStripButton
|
|
{
|
|
[DebuggerNonUserCode] get => _PrintToolStripButton;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_PrintToolStripButton = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripButton NewToolStripButton
|
|
{
|
|
[DebuggerNonUserCode] get => _NewToolStripButton;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_NewToolStripButton != null)
|
|
_NewToolStripButton.Click -= ShowNewForm;
|
|
_NewToolStripButton = value;
|
|
if (_NewToolStripButton == null)
|
|
return;
|
|
_NewToolStripButton.Click += ShowNewForm;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStrip ToolStrip
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStrip;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStrip = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripButton OpenToolStripButton
|
|
{
|
|
[DebuggerNonUserCode] get => _OpenToolStripButton;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_OpenToolStripButton != null)
|
|
_OpenToolStripButton.Click -= OpenFile;
|
|
_OpenToolStripButton = value;
|
|
if (_OpenToolStripButton == null)
|
|
return;
|
|
_OpenToolStripButton.Click += OpenFile;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripButton SaveToolStripButton
|
|
{
|
|
[DebuggerNonUserCode] get => _SaveToolStripButton;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_SaveToolStripButton != null)
|
|
_SaveToolStripButton.Click -= SaveToolStripButton_Click;
|
|
_SaveToolStripButton = value;
|
|
if (_SaveToolStripButton == null)
|
|
return;
|
|
_SaveToolStripButton.Click += SaveToolStripButton_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripSeparator ToolStripSeparator1
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripSeparator1;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripSeparator1 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem PrintPreviewToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _PrintPreviewToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_PrintPreviewToolStripMenuItem = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem PrintToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _PrintToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_PrintToolStripMenuItem = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripSeparator ToolStripSeparator4
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripSeparator4;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripSeparator4 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem ExitToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _ExitToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_ExitToolStripMenuItem != null)
|
|
_ExitToolStripMenuItem.Click -= ExitToolsStripMenuItem_Click;
|
|
_ExitToolStripMenuItem = value;
|
|
if (_ExitToolStripMenuItem == null)
|
|
return;
|
|
_ExitToolStripMenuItem.Click += ExitToolsStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripSeparator ToolStripSeparator5
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripSeparator5;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripSeparator5 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem PrintSetupToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _PrintSetupToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_PrintSetupToolStripMenuItem = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem SaveAsToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _SaveAsToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_SaveAsToolStripMenuItem != null)
|
|
_SaveAsToolStripMenuItem.Click -= SaveAsToolStripMenuItem_Click;
|
|
_SaveAsToolStripMenuItem = value;
|
|
if (_SaveAsToolStripMenuItem == null)
|
|
return;
|
|
_SaveAsToolStripMenuItem.Click += SaveAsToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem NewToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _NewToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_NewToolStripMenuItem != null)
|
|
_NewToolStripMenuItem.Click -= ShowNewForm;
|
|
_NewToolStripMenuItem = value;
|
|
if (_NewToolStripMenuItem == null)
|
|
return;
|
|
_NewToolStripMenuItem.Click += ShowNewForm;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem FileMenu
|
|
{
|
|
[DebuggerNonUserCode] get => _FileMenu;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_FileMenu = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem OpenToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _OpenToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_OpenToolStripMenuItem != null)
|
|
_OpenToolStripMenuItem.Click -= OpenFile;
|
|
_OpenToolStripMenuItem = value;
|
|
if (_OpenToolStripMenuItem == null)
|
|
return;
|
|
_OpenToolStripMenuItem.Click += OpenFile;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripSeparator ToolStripSeparator3
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripSeparator3;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripSeparator3 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem SaveToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _SaveToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_SaveToolStripMenuItem != null)
|
|
_SaveToolStripMenuItem.Click -= SaveToolStripMenuItem_Click;
|
|
_SaveToolStripMenuItem = value;
|
|
if (_SaveToolStripMenuItem == null)
|
|
return;
|
|
_SaveToolStripMenuItem.Click += SaveToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual MenuStrip MenuStrip
|
|
{
|
|
[DebuggerNonUserCode] get => _MenuStrip;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_MenuStrip = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem EditMenu
|
|
{
|
|
[DebuggerNonUserCode] get => _EditMenu;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_EditMenu = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem UndoToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _UndoToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_UndoToolStripMenuItem = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem RedoToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _RedoToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_RedoToolStripMenuItem = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripSeparator ToolStripSeparator6
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripSeparator6;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripSeparator6 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem CutToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _CutToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_CutToolStripMenuItem != null)
|
|
_CutToolStripMenuItem.Click -= CutToolStripMenuItem_Click;
|
|
_CutToolStripMenuItem = value;
|
|
if (_CutToolStripMenuItem == null)
|
|
return;
|
|
_CutToolStripMenuItem.Click += CutToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem CopyToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _CopyToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_CopyToolStripMenuItem != null)
|
|
_CopyToolStripMenuItem.Click -= CopyToolStripMenuItem_Click;
|
|
_CopyToolStripMenuItem = value;
|
|
if (_CopyToolStripMenuItem == null)
|
|
return;
|
|
_CopyToolStripMenuItem.Click += CopyToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem PasteToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _PasteToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_PasteToolStripMenuItem != null)
|
|
_PasteToolStripMenuItem.Click -= PasteToolStripMenuItem_Click;
|
|
_PasteToolStripMenuItem = value;
|
|
if (_PasteToolStripMenuItem == null)
|
|
return;
|
|
_PasteToolStripMenuItem.Click += PasteToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripSeparator ToolStripSeparator7
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripSeparator7;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripSeparator7 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem SelectAllToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _SelectAllToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_SelectAllToolStripMenuItem = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem ViewMenu
|
|
{
|
|
[DebuggerNonUserCode] get => _ViewMenu;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ViewMenu = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem ToolBarToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolBarToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_ToolBarToolStripMenuItem != null)
|
|
_ToolBarToolStripMenuItem.Click -= ToolBarToolStripMenuItem_Click;
|
|
_ToolBarToolStripMenuItem = value;
|
|
if (_ToolBarToolStripMenuItem == null)
|
|
return;
|
|
_ToolBarToolStripMenuItem.Click += ToolBarToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem StatusBarToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _StatusBarToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_StatusBarToolStripMenuItem != null)
|
|
_StatusBarToolStripMenuItem.Click -= StatusBarToolStripMenuItem_Click;
|
|
_StatusBarToolStripMenuItem = value;
|
|
if (_StatusBarToolStripMenuItem == null)
|
|
return;
|
|
_StatusBarToolStripMenuItem.Click += StatusBarToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem ToolsMenu
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolsMenu;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolsMenu = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem TypeMenu
|
|
{
|
|
[DebuggerNonUserCode] get => _TypeMenu;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_TypeMenu = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 机型信息MToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _机型信息MToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_机型信息MToolStripMenuItem != null)
|
|
_机型信息MToolStripMenuItem.Click -= 机型信息MToolStripMenuItem_Click;
|
|
_机型信息MToolStripMenuItem = value;
|
|
if (_机型信息MToolStripMenuItem == null)
|
|
return;
|
|
_机型信息MToolStripMenuItem.Click += 机型信息MToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem EditMenuList
|
|
{
|
|
[DebuggerNonUserCode] get => _EditMenuList;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_EditMenuList = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 信道信息CToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _信道信息CToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_信道信息CToolStripMenuItem != null)
|
|
_信道信息CToolStripMenuItem.Click -= 信道信息CToolStripMenuItem_Click;
|
|
_信道信息CToolStripMenuItem = value;
|
|
if (_信道信息CToolStripMenuItem == null)
|
|
return;
|
|
_信道信息CToolStripMenuItem.Click += 信道信息CToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripSeparator ToolStripSeparator9
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripSeparator9;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripSeparator9 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 整机信息OToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _整机信息OToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_整机信息OToolStripMenuItem != null)
|
|
_整机信息OToolStripMenuItem.Click -= 整机信息OToolStripMenuItem_Click;
|
|
_整机信息OToolStripMenuItem = value;
|
|
if (_整机信息OToolStripMenuItem == null)
|
|
return;
|
|
_整机信息OToolStripMenuItem.Click += 整机信息OToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 扫描信息SToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _扫描信息SToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_扫描信息SToolStripMenuItem != null)
|
|
_扫描信息SToolStripMenuItem.Click -= 扫描信息SToolStripMenuItem_Click;
|
|
_扫描信息SToolStripMenuItem = value;
|
|
if (_扫描信息SToolStripMenuItem == null)
|
|
return;
|
|
_扫描信息SToolStripMenuItem.Click += 扫描信息SToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 提示音AToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _提示音AToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_提示音AToolStripMenuItem != null)
|
|
_提示音AToolStripMenuItem.Click -= 提示音AToolStripMenuItem_Click;
|
|
_提示音AToolStripMenuItem = value;
|
|
if (_提示音AToolStripMenuItem == null)
|
|
return;
|
|
_提示音AToolStripMenuItem.Click += 提示音AToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripSeparator ToolStripSeparator10
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripSeparator10;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripSeparator10 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 双音多频DToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _双音多频DToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_双音多频DToolStripMenuItem != null)
|
|
_双音多频DToolStripMenuItem.Click -= 双音多频DToolStripMenuItem_Click;
|
|
_双音多频DToolStripMenuItem = value;
|
|
if (_双音多频DToolStripMenuItem == null)
|
|
return;
|
|
_双音多频DToolStripMenuItem.Click += 双音多频DToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 两音TToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _两音TToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_两音TToolStripMenuItem != null)
|
|
_两音TToolStripMenuItem.Click -= 两音TToolStripMenuItem_Click;
|
|
_两音TToolStripMenuItem = value;
|
|
if (_两音TToolStripMenuItem == null)
|
|
return;
|
|
_两音TToolStripMenuItem.Click += 两音TToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 五音FToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _五音FToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_五音FToolStripMenuItem != null)
|
|
_五音FToolStripMenuItem.Click -= 五音FToolStripMenuItem_Click;
|
|
_五音FToolStripMenuItem = value;
|
|
if (_五音FToolStripMenuItem == null)
|
|
return;
|
|
_五音FToolStripMenuItem.Click += 五音FToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripSeparator ToolStripSeparator11
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripSeparator11;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripSeparator11 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 紧急报警信息EToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _紧急报警信息EToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_紧急报警信息EToolStripMenuItem != null)
|
|
_紧急报警信息EToolStripMenuItem.Click -= 紧急报警信息EToolStripMenuItem_Click;
|
|
_紧急报警信息EToolStripMenuItem = value;
|
|
if (_紧急报警信息EToolStripMenuItem == null)
|
|
return;
|
|
_紧急报警信息EToolStripMenuItem.Click += 紧急报警信息EToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 收音机存储信道JToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _收音机存储信道JToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_收音机存储信道JToolStripMenuItem != null)
|
|
_收音机存储信道JToolStripMenuItem.Click -= 收音机存储信道JToolStripMenuItem_Click;
|
|
_收音机存储信道JToolStripMenuItem = value;
|
|
if (_收音机存储信道JToolStripMenuItem == null)
|
|
return;
|
|
_收音机存储信道JToolStripMenuItem.Click += 收音机存储信道JToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 嵌入信息IToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _嵌入信息IToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_嵌入信息IToolStripMenuItem != null)
|
|
_嵌入信息IToolStripMenuItem.Click -= 嵌入信息IToolStripMenuItem_Click;
|
|
_嵌入信息IToolStripMenuItem = value;
|
|
if (_嵌入信息IToolStripMenuItem == null)
|
|
return;
|
|
_嵌入信息IToolStripMenuItem.Click += 嵌入信息IToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 对讲机信息RToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _对讲机信息RToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_对讲机信息RToolStripMenuItem != null)
|
|
_对讲机信息RToolStripMenuItem.Click -= 对讲机信息RToolStripMenuItem_Click;
|
|
_对讲机信息RToolStripMenuItem = value;
|
|
if (_对讲机信息RToolStripMenuItem == null)
|
|
return;
|
|
_对讲机信息RToolStripMenuItem.Click += 对讲机信息RToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripSeparator ToolStripSeparator12
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripSeparator12;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripSeparator12 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem ProgrammeMenu
|
|
{
|
|
[DebuggerNonUserCode] get => _ProgrammeMenu;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ProgrammeMenu = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 从对讲机读取数据RToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _从对讲机读取数据RToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_从对讲机读取数据RToolStripMenuItem != null)
|
|
_从对讲机读取数据RToolStripMenuItem.Click -= 从对讲机读取数据RToolStripMenuItem_Click;
|
|
_从对讲机读取数据RToolStripMenuItem = value;
|
|
if (_从对讲机读取数据RToolStripMenuItem == null)
|
|
return;
|
|
_从对讲机读取数据RToolStripMenuItem.Click += 从对讲机读取数据RToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 向对讲机写入数据WToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _向对讲机写入数据WToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_向对讲机写入数据WToolStripMenuItem != null)
|
|
_向对讲机写入数据WToolStripMenuItem.Click -= 向对讲机写入数据WToolStripMenuItem_Click;
|
|
_向对讲机写入数据WToolStripMenuItem = value;
|
|
if (_向对讲机写入数据WToolStripMenuItem == null)
|
|
return;
|
|
_向对讲机写入数据WToolStripMenuItem.Click += 向对讲机写入数据WToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem SetMenu
|
|
{
|
|
[DebuggerNonUserCode] get => _SetMenu;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_SetMenu = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 语言设置LToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _语言设置LToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_语言设置LToolStripMenuItem = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 通信端口PToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _通信端口PToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_通信端口PToolStripMenuItem != null)
|
|
_通信端口PToolStripMenuItem.Click -= 通信端口PToolStripMenuItem_Click;
|
|
_通信端口PToolStripMenuItem = value;
|
|
if (_通信端口PToolStripMenuItem == null)
|
|
return;
|
|
_通信端口PToolStripMenuItem.Click += 通信端口PToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 更改密码CToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _更改密码CToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_更改密码CToolStripMenuItem != null)
|
|
_更改密码CToolStripMenuItem.Click -= 更改密码CToolStripMenuItem_Click;
|
|
_更改密码CToolStripMenuItem = value;
|
|
if (_更改密码CToolStripMenuItem == null)
|
|
return;
|
|
_更改密码CToolStripMenuItem.Click += 更改密码CToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem TreeViewToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _TreeViewToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_TreeViewToolStripMenuItem != null)
|
|
_TreeViewToolStripMenuItem.Click -= TreeViewToolStripMenuItem_Click;
|
|
_TreeViewToolStripMenuItem = value;
|
|
if (_TreeViewToolStripMenuItem == null)
|
|
return;
|
|
_TreeViewToolStripMenuItem.Click += TreeViewToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripSeparator ToolStripSeparator13
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripSeparator13;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripSeparator13 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripSeparator ToolStripSeparator14
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripSeparator14;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripSeparator14 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 帮助主题HToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _帮助主题HToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_帮助主题HToolStripMenuItem = value;
|
|
}
|
|
}
|
|
|
|
internal virtual Panel Panel1
|
|
{
|
|
[DebuggerNonUserCode] get => _Panel1;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => _Panel1 = value;
|
|
}
|
|
|
|
internal virtual TreeView EditMenuListTreeView
|
|
{
|
|
[DebuggerNonUserCode] get => _EditMenuListTreeView;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_EditMenuListTreeView != null)
|
|
_EditMenuListTreeView.NodeMouseClick -= EditMenuListTreeView_NodeMouseClick;
|
|
_EditMenuListTreeView = value;
|
|
if (_EditMenuListTreeView == null)
|
|
return;
|
|
_EditMenuListTreeView.NodeMouseClick += EditMenuListTreeView_NodeMouseClick;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripSeparator ToolStripSeparator15
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripSeparator15;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripSeparator15 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual SerialPort SerialPort1
|
|
{
|
|
[DebuggerNonUserCode] get => _SerialPort1;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_SerialPort1 != null)
|
|
_SerialPort1.DataReceived -= SerialPort1_DataReceived;
|
|
_SerialPort1 = value;
|
|
if (_SerialPort1 == null)
|
|
return;
|
|
_SerialPort1.DataReceived += SerialPort1_DataReceived;
|
|
}
|
|
}
|
|
|
|
internal virtual System.Windows.Forms.Timer Timer1
|
|
{
|
|
[DebuggerNonUserCode] get => _Timer1;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_Timer1 != null)
|
|
_Timer1.Tick -= Timer1_Tick;
|
|
_Timer1 = value;
|
|
if (_Timer1 == null)
|
|
return;
|
|
_Timer1.Tick += Timer1_Tick;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripButton ReadToolStripButton
|
|
{
|
|
[DebuggerNonUserCode] get => _ReadToolStripButton;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_ReadToolStripButton != null)
|
|
_ReadToolStripButton.Click -= ReadToolStripButton_Click;
|
|
_ReadToolStripButton = value;
|
|
if (_ReadToolStripButton == null)
|
|
return;
|
|
_ReadToolStripButton.Click += ReadToolStripButton_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripButton ComPortToolStripButton
|
|
{
|
|
[DebuggerNonUserCode] get => _ComPortToolStripButton;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_ComPortToolStripButton != null)
|
|
_ComPortToolStripButton.Click -= ComPortToolStripButton_Click;
|
|
_ComPortToolStripButton = value;
|
|
if (_ComPortToolStripButton == null)
|
|
return;
|
|
_ComPortToolStripButton.Click += ComPortToolStripButton_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripButton WriteToolStripButton
|
|
{
|
|
[DebuggerNonUserCode] get => _WriteToolStripButton;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_WriteToolStripButton != null)
|
|
_WriteToolStripButton.Click -= WriteToolStripButton_Click;
|
|
_WriteToolStripButton = value;
|
|
if (_WriteToolStripButton == null)
|
|
return;
|
|
_WriteToolStripButton.Click += WriteToolStripButton_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripSeparator ToolStripSeparator16
|
|
{
|
|
[DebuggerNonUserCode] get => _ToolStripSeparator16;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
_ToolStripSeparator16 = value;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 中文ToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _中文ToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_中文ToolStripMenuItem != null)
|
|
_中文ToolStripMenuItem.Click -= 中文ToolStripMenuItem_Click;
|
|
_中文ToolStripMenuItem = value;
|
|
if (_中文ToolStripMenuItem == null)
|
|
return;
|
|
_中文ToolStripMenuItem.Click += 中文ToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
internal virtual ToolStripMenuItem 英文ToolStripMenuItem
|
|
{
|
|
[DebuggerNonUserCode] get => _英文ToolStripMenuItem;
|
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
|
{
|
|
if (_英文ToolStripMenuItem != null)
|
|
_英文ToolStripMenuItem.Click -= 英文ToolStripMenuItem_Click;
|
|
_英文ToolStripMenuItem = value;
|
|
if (_英文ToolStripMenuItem == null)
|
|
return;
|
|
_英文ToolStripMenuItem.Click += 英文ToolStripMenuItem_Click;
|
|
}
|
|
}
|
|
|
|
private void ShowNewForm(object sender, EventArgs e)
|
|
{
|
|
try
|
|
{
|
|
StreamReader streamReader = File.OpenText(Application.StartupPath + "\\default_data.hpg");
|
|
int index = 0;
|
|
do
|
|
{
|
|
publicva.EEPROM_Byte[index] = Conversions.ToByte("&h" + streamReader.ReadLine());
|
|
checked { ++index; }
|
|
}
|
|
while (index <= (int) short.MaxValue);
|
|
streamReader.Close();
|
|
AllForm_LoadData(RuntimeHelpers.GetObjectValue(sender), e);
|
|
FormTreeViewHide();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ProjectData.SetProjectError(ex);
|
|
ProjectData.ClearProjectError();
|
|
}
|
|
publicva.Rw_PasswordStr = "";
|
|
}
|
|
|
|
private void OpenFile(object sender, EventArgs e)
|
|
{
|
|
OpenFileDialog openFileDialog = new OpenFileDialog();
|
|
openFileDialog.InitialDirectory = MyProject.Computer.FileSystem.SpecialDirectories.MyDocuments;
|
|
openFileDialog.Filter = "数据文件(*.hpg)|*.hpg";
|
|
if (openFileDialog.ShowDialog((IWin32Window) this) != DialogResult.OK)
|
|
return;
|
|
StreamReader streamReader = new StreamReader(openFileDialog.FileName);
|
|
int index = 0;
|
|
do
|
|
{
|
|
publicva.EEPROM_Byte[index] = Conversions.ToByte("&h" + streamReader.ReadLine());
|
|
checked { ++index; }
|
|
}
|
|
while (index <= (int) short.MaxValue);
|
|
streamReader.Close();
|
|
AllForm_LoadData(RuntimeHelpers.GetObjectValue(sender), e);
|
|
FormTreeViewHide();
|
|
}
|
|
|
|
private void SaveAsToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
SaveFileDialog saveFileDialog = new SaveFileDialog();
|
|
saveFileDialog.InitialDirectory = MyProject.Computer.FileSystem.SpecialDirectories.MyDocuments;
|
|
saveFileDialog.Filter = "数据文件(*.hpg)|*.hpg";
|
|
if (saveFileDialog.ShowDialog((IWin32Window) this) != DialogResult.OK)
|
|
return;
|
|
string fileName = saveFileDialog.FileName;
|
|
AllForm_SaveData(RuntimeHelpers.GetObjectValue(sender), e);
|
|
StreamWriter streamWriter = new StreamWriter(fileName);
|
|
int startIndex = 0;
|
|
do
|
|
{
|
|
streamWriter.WriteLine(BitConverter.ToString(publicva.EEPROM_Byte, startIndex, 1));
|
|
checked { ++startIndex; }
|
|
}
|
|
while (startIndex <= (int) short.MaxValue);
|
|
streamWriter.Close();
|
|
}
|
|
|
|
private void ExitToolsStripMenuItem_Click(object sender, EventArgs e) => Application.Exit();
|
|
|
|
private void CutToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
}
|
|
|
|
private void CopyToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
}
|
|
|
|
private void PasteToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
}
|
|
|
|
private void ToolBarToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
ToolStrip.Visible = ToolBarToolStripMenuItem.Checked;
|
|
}
|
|
|
|
private void StatusBarToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
StatusStrip.Visible = StatusBarToolStripMenuItem.Checked;
|
|
}
|
|
|
|
private void CascadeToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
LayoutMdi(MdiLayout.Cascade);
|
|
}
|
|
|
|
private void TileVerticleToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
LayoutMdi(MdiLayout.TileVertical);
|
|
}
|
|
|
|
private void TileHorizontalToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
LayoutMdi(MdiLayout.TileHorizontal);
|
|
}
|
|
|
|
private void ArrangeIconsToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
LayoutMdi(MdiLayout.ArrangeIcons);
|
|
}
|
|
|
|
private void CloseAllToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
Form[] mdiChildren = MdiChildren;
|
|
int index = 0;
|
|
while (index < mdiChildren.Length)
|
|
{
|
|
mdiChildren[index].Close();
|
|
checked { ++index; }
|
|
}
|
|
}
|
|
|
|
private void MDIParent1_Load(object sender, EventArgs e)
|
|
{
|
|
MyProject.Forms.ComForm.GetSerialPortNames();
|
|
publicva.ChangeCOM_Count = 0U;
|
|
publicva.COM_SelectIndex = 0U;
|
|
MyProject.Forms.ComForm.ComboBox1.SelectedIndex = checked ((int) publicva.COM_SelectIndex);
|
|
SerialPort1.PortName = Conversions.ToString(MyProject.Forms.ComForm.ComboBox1.Items[checked ((int) publicva.COM_SelectIndex)]);
|
|
MyProject.Forms.TypeMsgForm.ComboBox机型.SelectedIndex = 0;
|
|
try
|
|
{
|
|
StreamReader streamReader = File.OpenText(Application.StartupPath + "\\Config.hpg");
|
|
publicva.Language = streamReader.ReadLine();
|
|
streamReader.Close();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ProjectData.SetProjectError(ex);
|
|
publicva.Language = "zh-CN";
|
|
ProjectData.ClearProjectError();
|
|
}
|
|
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
|
{
|
|
中文ToolStripMenuItem.Checked = true;
|
|
英文ToolStripMenuItem.Checked = false;
|
|
}
|
|
else
|
|
{
|
|
中文ToolStripMenuItem.Checked = false;
|
|
英文ToolStripMenuItem.Checked = true;
|
|
}
|
|
changeLanguage(publicva.Language);
|
|
EditMenuListTreeView.Nodes[0].Expand();
|
|
MyProject.Forms.ChannelMsg.MdiParent = (Form) this;
|
|
MyProject.Forms.ChannelMsg.Show();
|
|
MyProject.Forms.ChannelMsg.Focus();
|
|
ShowNewForm(RuntimeHelpers.GetObjectValue(sender), e);
|
|
Get_FreqRang();
|
|
publicva.LastProgrammeTime = Conversions.ToString(DateAndTime.Now.Year) + "-" + Conversions.ToString(DateAndTime.Now.Month) + "-" + Conversions.ToString(DateAndTime.Now.Day);
|
|
}
|
|
|
|
private void TreeViewToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
Panel1.Visible = TreeViewToolStripMenuItem.Checked;
|
|
}
|
|
|
|
private void EditMenuListTreeView_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
|
|
{
|
|
string name = e.Node.Name;
|
|
if (Operators.CompareString(name, "节点1", false) == 0)
|
|
SafeLoadWindowByName((Form) MyProject.Forms.ChannelMsg);
|
|
else if (Operators.CompareString(name, "节点2", false) == 0)
|
|
SafeLoadWindowByName((Form) MyProject.Forms.TypeFuncMsgForm);
|
|
else if (Operators.CompareString(name, "节点3", false) == 0)
|
|
SafeLoadWindowByName((Form) MyProject.Forms.ScanFuncMsgForm);
|
|
else if (Operators.CompareString(name, "节点4", false) == 0)
|
|
SafeLoadWindowByName((Form) MyProject.Forms.BeepForm);
|
|
else if (Operators.CompareString(name, "节点5", false) == 0)
|
|
SafeLoadWindowByName((Form) MyProject.Forms.DtmfForm);
|
|
else if (Operators.CompareString(name, "节点6", false) == 0)
|
|
SafeLoadWindowByName((Form) MyProject.Forms._2ToneForm);
|
|
else if (Operators.CompareString(name, "节点7", false) == 0)
|
|
SafeLoadWindowByName((Form) MyProject.Forms._5ToneForm);
|
|
else if (Operators.CompareString(name, "节点8", false) == 0)
|
|
SafeLoadWindowByName((Form) MyProject.Forms.SOSMsgForm);
|
|
else if (Operators.CompareString(name, "节点9", false) == 0)
|
|
SafeLoadWindowByName((Form) MyProject.Forms.RadioMsgForm);
|
|
else if (Operators.CompareString(name, "节点10", false) == 0)
|
|
{
|
|
SafeLoadWindowByName((Form) MyProject.Forms.MsgForm);
|
|
}
|
|
else
|
|
{
|
|
if (Operators.CompareString(name, "节点11", false) != 0)
|
|
return;
|
|
SafeLoadWindowByName((Form) MyProject.Forms.SofeMsgForm);
|
|
}
|
|
}
|
|
|
|
public void FormTreeViewHide()
|
|
{
|
|
int index1 = 10;
|
|
string[,] strArray1 = new string[12, 2]
|
|
{
|
|
{
|
|
"HPG-68D",
|
|
"节点0"
|
|
},
|
|
{
|
|
"信道信息",
|
|
"节点1"
|
|
},
|
|
{
|
|
"整机信息",
|
|
"节点2"
|
|
},
|
|
{
|
|
"扫描信息",
|
|
"节点3"
|
|
},
|
|
{
|
|
"提示音",
|
|
"节点4"
|
|
},
|
|
{
|
|
"双音多频",
|
|
"节点5"
|
|
},
|
|
{
|
|
"两音",
|
|
"节点6"
|
|
},
|
|
{
|
|
"五音",
|
|
"节点7"
|
|
},
|
|
{
|
|
"紧急报警信息",
|
|
"节点8"
|
|
},
|
|
{
|
|
"收音机存储信道",
|
|
"节点9"
|
|
},
|
|
{
|
|
"嵌入信息",
|
|
"节点10"
|
|
},
|
|
{
|
|
"对讲机信息",
|
|
"节点11"
|
|
}
|
|
};
|
|
string[,] strArray2 = new string[12, 2]
|
|
{
|
|
{
|
|
"HPG-68D",
|
|
"节点0"
|
|
},
|
|
{
|
|
"Channel Information",
|
|
"节点1"
|
|
},
|
|
{
|
|
"Optional Features",
|
|
"节点2"
|
|
},
|
|
{
|
|
"Scan Information",
|
|
"节点3"
|
|
},
|
|
{
|
|
"Alert Tone",
|
|
"节点4"
|
|
},
|
|
{
|
|
"DTMF",
|
|
"节点5"
|
|
},
|
|
{
|
|
"2-Tone",
|
|
"节点6"
|
|
},
|
|
{
|
|
"5-Tone",
|
|
"节点7"
|
|
},
|
|
{
|
|
"Emergency Information",
|
|
"节点8"
|
|
},
|
|
{
|
|
"Receiver Only Memory",
|
|
"节点9"
|
|
},
|
|
{
|
|
"Embedded Message",
|
|
"节点10"
|
|
},
|
|
{
|
|
"Radio Information",
|
|
"节点11"
|
|
}
|
|
};
|
|
EditMenuListTreeView.Nodes.Clear();
|
|
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
|
{
|
|
EditMenuListTreeView.Nodes.Add(strArray1[0, 0]);
|
|
EditMenuListTreeView.Nodes[0].Name = strArray1[0, 1];
|
|
EditMenuListTreeView.SelectedNode = EditMenuListTreeView.Nodes[0];
|
|
int index2 = 1;
|
|
do
|
|
{
|
|
EditMenuListTreeView.SelectedNode.Nodes.Add(strArray1[index2, 0]);
|
|
EditMenuListTreeView.SelectedNode.Nodes[checked (index2 - 1)].Name = strArray1[index2, 1];
|
|
checked { ++index2; }
|
|
}
|
|
while (index2 <= 11);
|
|
}
|
|
else
|
|
{
|
|
EditMenuListTreeView.Nodes.Add(strArray2[0, 0]);
|
|
EditMenuListTreeView.Nodes[0].Name = strArray2[0, 1];
|
|
EditMenuListTreeView.SelectedNode = EditMenuListTreeView.Nodes[0];
|
|
int index3 = 1;
|
|
do
|
|
{
|
|
EditMenuListTreeView.SelectedNode.Nodes.Add(strArray2[index3, 0]);
|
|
EditMenuListTreeView.SelectedNode.Nodes[checked (index3 - 1)].Name = strArray2[index3, 1];
|
|
checked { ++index3; }
|
|
}
|
|
while (index3 <= 11);
|
|
}
|
|
if (((uint) publicva.EEPROM_Byte[index1] & (uint) publicva.Bit5) > 0U)
|
|
{
|
|
五音FToolStripMenuItem.Visible = true;
|
|
}
|
|
else
|
|
{
|
|
EditMenuListTreeView.Nodes[0].Nodes[6].Remove();
|
|
五音FToolStripMenuItem.Visible = false;
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms._5ToneForm))
|
|
MyProject.Forms._5ToneForm.Close();
|
|
}
|
|
if (((uint) publicva.EEPROM_Byte[index1] & (uint) publicva.Bit4) > 0U)
|
|
{
|
|
两音TToolStripMenuItem.Visible = true;
|
|
}
|
|
else
|
|
{
|
|
EditMenuListTreeView.Nodes[0].Nodes[5].Remove();
|
|
两音TToolStripMenuItem.Visible = false;
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms._2ToneForm))
|
|
MyProject.Forms._2ToneForm.Close();
|
|
}
|
|
if (((uint) publicva.EEPROM_Byte[index1] & (uint) publicva.Bit0) > 0U)
|
|
{
|
|
双音多频DToolStripMenuItem.Visible = true;
|
|
}
|
|
else
|
|
{
|
|
EditMenuListTreeView.Nodes[0].Nodes[4].Remove();
|
|
双音多频DToolStripMenuItem.Visible = false;
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.DtmfForm))
|
|
MyProject.Forms.DtmfForm.Close();
|
|
}
|
|
if (((int) publicva.EEPROM_Byte[index1] & (int) publicva.Bit5 | (int) publicva.EEPROM_Byte[index1] & (int) publicva.Bit4) != 0)
|
|
{
|
|
提示音AToolStripMenuItem.Visible = true;
|
|
}
|
|
else
|
|
{
|
|
EditMenuListTreeView.Nodes[0].Nodes[3].Remove();
|
|
提示音AToolStripMenuItem.Visible = false;
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.BeepForm))
|
|
MyProject.Forms.BeepForm.Close();
|
|
}
|
|
EditMenuListTreeView.Nodes[0].Expand();
|
|
}
|
|
|
|
public void SafeLoadWindowByName(Form rFrm)
|
|
{
|
|
Form[] mdiChildren = MdiChildren;
|
|
int index = 0;
|
|
while (index < mdiChildren.Length)
|
|
{
|
|
Form form = mdiChildren[index];
|
|
if (Operators.CompareString(form.Name, rFrm.Name, false) == 0)
|
|
{
|
|
form.Focus();
|
|
return;
|
|
}
|
|
checked { ++index; }
|
|
}
|
|
rFrm.MdiParent = (Form) this;
|
|
rFrm.Show();
|
|
rFrm.Focus();
|
|
}
|
|
|
|
public bool JudgeIsFormLoaded(Form rFrm)
|
|
{
|
|
Form[] mdiChildren = MdiChildren;
|
|
int index = 0;
|
|
while (index < mdiChildren.Length)
|
|
{
|
|
if (Operators.CompareString(mdiChildren[index].Name, rFrm.Name, false) == 0)
|
|
return true;
|
|
checked { ++index; }
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public void AllForm_LoadData(object sender, EventArgs e)
|
|
{
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.BeepForm))
|
|
MyProject.Forms.BeepForm.BeepForm_Load(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms._2ToneForm))
|
|
MyProject.Forms._2ToneForm._2ToneForm_Load(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms._5ToneForm))
|
|
MyProject.Forms._5ToneForm._5ToneForm_Load(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.DtmfForm))
|
|
MyProject.Forms.DtmfForm.DtmfForm_Load(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.RadioMsgForm))
|
|
MyProject.Forms.RadioMsgForm.RadioMsgForm_Load(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.ChannelMsg))
|
|
MyProject.Forms.ChannelMsg.ChannelMsg_Load(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.ScanFuncMsgForm))
|
|
MyProject.Forms.ScanFuncMsgForm.ScanFuncMsgForm_Load(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.SOSMsgForm))
|
|
MyProject.Forms.SOSMsgForm.SOSMsgForm_Load(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.TypeFuncMsgForm))
|
|
MyProject.Forms.TypeFuncMsgForm.TypeFuncMsgForm_Load(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.MsgForm))
|
|
MyProject.Forms.MsgForm.MsgForm_Load(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (!JudgeIsFormLoaded((Form) MyProject.Forms.SofeMsgForm))
|
|
return;
|
|
MyProject.Forms.SofeMsgForm.SofeMsgForm_Load(RuntimeHelpers.GetObjectValue(sender), e);
|
|
}
|
|
|
|
public void AllForm_SaveData(object sender, EventArgs e)
|
|
{
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.BeepForm))
|
|
MyProject.Forms.BeepForm.BeepForm_Deactivate(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms._2ToneForm))
|
|
MyProject.Forms._2ToneForm._2ToneForm_Deactivate(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms._5ToneForm))
|
|
MyProject.Forms._5ToneForm._5ToneForm_Deactivate(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.DtmfForm))
|
|
MyProject.Forms.DtmfForm.DtmfForm_Deactivate(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.RadioMsgForm))
|
|
MyProject.Forms.RadioMsgForm.RadioMsgForm_Deactivate(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.ChannelMsg))
|
|
MyProject.Forms.ChannelMsg.ChannelMsg_Deactivate(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.ScanFuncMsgForm))
|
|
MyProject.Forms.ScanFuncMsgForm.ScanFuncMsgForm_Deactivate(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.SOSMsgForm))
|
|
MyProject.Forms.SOSMsgForm.SOSMsgForm_Deactivate(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (JudgeIsFormLoaded((Form) MyProject.Forms.TypeFuncMsgForm))
|
|
MyProject.Forms.TypeFuncMsgForm.TypeFuncMsgForm_Deactivate(RuntimeHelpers.GetObjectValue(sender), e);
|
|
if (!JudgeIsFormLoaded((Form) MyProject.Forms.MsgForm))
|
|
return;
|
|
MyProject.Forms.MsgForm.MsgForm_Deactivate(RuntimeHelpers.GetObjectValue(sender), e);
|
|
}
|
|
|
|
public void SetControl_Text(Control object_x, int address)
|
|
{
|
|
if (!(object_x is ComboBox))
|
|
return;
|
|
if (((ComboBox) object_x).FindStringExact(publicva.EEPROM_Byte[address].ToString()) != -1)
|
|
((ComboBox) object_x).Text = Conversions.ToString(publicva.EEPROM_Byte[address]);
|
|
else
|
|
((ComboBox) object_x).SelectedIndex = 0;
|
|
}
|
|
|
|
public void GetContol_Data(Control object_x, int address)
|
|
{
|
|
if (!(object_x is ComboBox))
|
|
return;
|
|
publicva.EEPROM_Byte[address] = !(((ComboBox) object_x).FindStringExact(((ComboBox) object_x).Text) == -1 | ((ComboBox) object_x).SelectedIndex == 0) ? Conversions.ToByte(((ComboBox) object_x).Text) : (byte) 0;
|
|
}
|
|
|
|
public void Judge_SetControl_SetControl_U8_Data(
|
|
Control object_x,
|
|
int address,
|
|
byte AndBit,
|
|
int Right_No)
|
|
{
|
|
if (!(object_x is ComboBox))
|
|
return;
|
|
if (((ComboBox) object_x).FindString(publicva.EEPROM_Byte[address].ToString()) == -1)
|
|
publicva.EEPROM_Byte[address] = (byte) 0;
|
|
SetControl_U8_Data(object_x, address, AndBit, Right_No);
|
|
}
|
|
|
|
public void SetControl_U8_Data(Control object_x, int address, byte AndBit, int Right_No)
|
|
{
|
|
if (object_x is ComboBox)
|
|
{
|
|
try
|
|
{
|
|
((ComboBox) object_x).SelectedIndex = (int) (byte) (((uint) publicva.EEPROM_Byte[address] & (uint) AndBit) >> (Right_No & 7));
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ProjectData.SetProjectError(ex);
|
|
int num = (int) Interaction.MsgBox((object) (object_x.Name.ToString() + " 溢出出错值: " + ((byte) (((uint) publicva.EEPROM_Byte[address] & (uint) AndBit) >> (Right_No & 7))).ToString()));
|
|
((ComboBox) object_x).SelectedIndex = 0;
|
|
ProjectData.ClearProjectError();
|
|
}
|
|
}
|
|
if (!(object_x is CheckBox))
|
|
return;
|
|
try
|
|
{
|
|
if (Right_No != 0)
|
|
((CheckBox) object_x).Checked = ((uint) (byte) ~((int) publicva.EEPROM_Byte[address] & (int) AndBit) & (uint) AndBit) > 0U;
|
|
else
|
|
((CheckBox) object_x).Checked = ((uint) publicva.EEPROM_Byte[address] & (uint) AndBit) > 0U;
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ProjectData.SetProjectError(ex);
|
|
int num = (int) Interaction.MsgBox((object) (object_x.Name.ToString() + " 溢出出错值: " + ((byte) ((int) publicva.EEPROM_Byte[address] & (int) AndBit)).ToString()));
|
|
((CheckBox) object_x).Checked = false;
|
|
ProjectData.ClearProjectError();
|
|
}
|
|
}
|
|
|
|
public void GetControl_U8_Data(Control object_x, int address, byte AndBit, int Right_No)
|
|
{
|
|
if (object_x is ComboBox)
|
|
{
|
|
publicva.EEPROM_Byte[address] = (byte) ((int) publicva.EEPROM_Byte[address] & (int) ~AndBit);
|
|
publicva.EEPROM_Byte[address] = checked ((byte) ((int) publicva.EEPROM_Byte[address] | ((ComboBox) object_x).SelectedIndex << Right_No));
|
|
}
|
|
if (!(object_x is CheckBox))
|
|
return;
|
|
publicva.EEPROM_Byte[address] = !((CheckBox) object_x).Checked ? (Right_No == 0 ? (byte) ((int) publicva.EEPROM_Byte[address] & (int) ~AndBit) : (byte) ((int) publicva.EEPROM_Byte[address] | (int) AndBit)) : (Right_No == 0 ? (byte) ((int) publicva.EEPROM_Byte[address] | (int) AndBit) : (byte) ((int) publicva.EEPROM_Byte[address] & (int) ~AndBit));
|
|
}
|
|
|
|
public object Get_2ByteToU16_L_H(int address)
|
|
{
|
|
return (object) checked ((int) publicva.EEPROM_Byte[address + 1] * 256 + (int) publicva.EEPROM_Byte[address + 0] * 1);
|
|
}
|
|
|
|
public void Set_U16To2Byte_L_H(int value, int address)
|
|
{
|
|
publicva.EEPROM_Byte[checked (address + 1)] = checked ((byte) ((value & 65280) >> 8));
|
|
publicva.EEPROM_Byte[checked (address + 0)] = checked ((byte) (value & (int) byte.MaxValue));
|
|
}
|
|
|
|
public object Get_4ByteToU32_L_H(int address)
|
|
{
|
|
return (object) checked ((int) publicva.EEPROM_Byte[address + 3] * 16777216 + (int) publicva.EEPROM_Byte[address + 2] * 65536 + (int) publicva.EEPROM_Byte[address + 1] * 256 + (int) publicva.EEPROM_Byte[address + 0] * 1);
|
|
}
|
|
|
|
public void Set_U32To4Byte_L_H(int value, int address)
|
|
{
|
|
publicva.EEPROM_Byte[checked (address + 3)] = checked ((byte) ((value & -16777216) >> 24));
|
|
publicva.EEPROM_Byte[checked (address + 2)] = checked ((byte) ((value & 16711680) >> 16));
|
|
publicva.EEPROM_Byte[checked (address + 1)] = checked ((byte) ((value & 65280) >> 8));
|
|
publicva.EEPROM_Byte[checked (address + 0)] = checked ((byte) (value & (int) byte.MaxValue));
|
|
}
|
|
|
|
public void Get_FreqRang()
|
|
{
|
|
int num = 768;
|
|
int index = 0;
|
|
do
|
|
{
|
|
publicva.RxFreqRang[index, 0] = Conversions.ToUInteger(Get_4ByteToU32_L_H(checked (num + 0 + index * 16)));
|
|
publicva.RxFreqRang[index, 1] = Conversions.ToUInteger(Get_4ByteToU32_L_H(checked (num + 4 + index * 16)));
|
|
publicva.TxFreqRang[index, 0] = Conversions.ToUInteger(Get_4ByteToU32_L_H(checked (num + 8 + index * 16)));
|
|
publicva.TxFreqRang[index, 1] = Conversions.ToUInteger(Get_4ByteToU32_L_H(checked (num + 12 + index * 16)));
|
|
checked { ++index; }
|
|
}
|
|
while (index <= 6);
|
|
}
|
|
|
|
public void Set_FreqRang()
|
|
{
|
|
int num = 768;
|
|
int index = 0;
|
|
do
|
|
{
|
|
Set_U32To4Byte_L_H(checked ((int) publicva.RxFreqRang[index, 0]), checked (num + 0 + index * 16));
|
|
Set_U32To4Byte_L_H(checked ((int) publicva.RxFreqRang[index, 1]), checked (num + 4 + index * 16));
|
|
Set_U32To4Byte_L_H(checked ((int) publicva.TxFreqRang[index, 0]), checked (num + 8 + index * 16));
|
|
Set_U32To4Byte_L_H(checked ((int) publicva.TxFreqRang[index, 1]), checked (num + 12 + index * 16));
|
|
checked { ++index; }
|
|
}
|
|
while (index <= 6);
|
|
}
|
|
|
|
private void SaveToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
SaveAsToolStripMenuItem_Click(RuntimeHelpers.GetObjectValue(sender), e);
|
|
}
|
|
|
|
private void SaveToolStripButton_Click(object sender, EventArgs e)
|
|
{
|
|
SaveAsToolStripMenuItem_Click(RuntimeHelpers.GetObjectValue(sender), e);
|
|
}
|
|
|
|
private void 通信端口PToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
int num = (int) MyProject.Forms.ComForm.ShowDialog();
|
|
}
|
|
|
|
public bool JudgeArrayDataIsSame(byte[] source, byte[] input)
|
|
{
|
|
int num = Information.UBound((Array) source);
|
|
int index = 0;
|
|
while (index <= num)
|
|
{
|
|
if ((int) source[index] != (int) input[index])
|
|
return false;
|
|
checked { ++index; }
|
|
}
|
|
return true;
|
|
}
|
|
|
|
public object Get_CRC_Data(byte[] UARTDATA)
|
|
{
|
|
int num1 = 0;
|
|
uint num2 = checked ((uint) ((int) UARTDATA[6] + 3 - 1));
|
|
uint num3 = 0;
|
|
while (num3 <= num2)
|
|
{
|
|
num1 = checked (num1 + (int) UARTDATA[(int) (4L + (long) num3)]) & (int) byte.MaxValue;
|
|
checked { ++num3; }
|
|
}
|
|
return (object) (checked (25 - num1 & (int) byte.MaxValue ^ (int) byte.MaxValue + 1) & (int) byte.MaxValue);
|
|
}
|
|
|
|
public void Tx_WriteDataCOM_Frame()
|
|
{
|
|
publicva.SendDataBuf[0] = (byte) 2;
|
|
publicva.SendDataBuf[1] = (byte) 35;
|
|
publicva.SendDataBuf[2] = (byte) 230;
|
|
publicva.SendDataBuf[3] = (byte) 245;
|
|
publicva.SendDataBuf[4] = checked ((byte) unchecked ((long) publicva.Rw_EEPROM_Add_Length_List[checked ((int) publicva.Rw_EEPROM_Add_Length_ListIndex), 0] / 256L));
|
|
publicva.SendDataBuf[5] = checked ((byte) unchecked ((long) publicva.Rw_EEPROM_Add_Length_List[checked ((int) publicva.Rw_EEPROM_Add_Length_ListIndex), 0] % 256L));
|
|
publicva.SendDataBuf[6] = checked ((byte) publicva.Rw_EEPROM_Add_Length_List[(int) publicva.Rw_EEPROM_Add_Length_ListIndex, 1]);
|
|
uint num1 = checked ((uint) ((int) publicva.SendDataBuf[6] - 1));
|
|
uint num2 = 0;
|
|
while (num2 <= num1)
|
|
{
|
|
publicva.SendDataBuf[checked ((int) (7L + (long) num2))] = publicva.EEPROM_Byte[checked ((int) (publicva.Rw_EEPROM_Add_Length_List[(int) publicva.Rw_EEPROM_Add_Length_ListIndex, 0] + num2))];
|
|
checked { ++num2; }
|
|
}
|
|
int index = checked (7 + (int) publicva.SendDataBuf[6]);
|
|
publicva.SendDataBuf[index] = Conversions.ToByte(Get_CRC_Data(publicva.SendDataBuf));
|
|
publicva.SendDataBuf[checked (index + 1)] = (byte) 3;
|
|
publicva.ReceivedCount = 5U;
|
|
SerialPort1.Write(publicva.SendDataBuf, 0, checked (7 + (int) publicva.SendDataBuf[6] + 1 + 1));
|
|
}
|
|
|
|
public void WriteDataToPC_EEPROM_Byte()
|
|
{
|
|
uint num1 = checked ((uint) ((int) publicva.ReceivedDataBuf[6] - 1));
|
|
uint num2 = 0;
|
|
while (num2 <= num1)
|
|
{
|
|
publicva.EEPROM_Byte[checked ((int) (publicva.Rw_EEPROM_Add_Length_List[(int) publicva.Rw_EEPROM_Add_Length_ListIndex, 0] + num2))] = publicva.ReceivedDataBuf[checked ((int) (7L + (long) num2))];
|
|
checked { ++num2; }
|
|
}
|
|
}
|
|
|
|
public void Tx_ReadDataCOM_Frame()
|
|
{
|
|
publicva.SendDataBuf[0] = (byte) 2;
|
|
publicva.SendDataBuf[1] = (byte) 35;
|
|
publicva.SendDataBuf[2] = (byte) 229;
|
|
publicva.SendDataBuf[3] = (byte) 246;
|
|
publicva.SendDataBuf[4] = checked ((byte) unchecked ((long) publicva.Rw_EEPROM_Add_Length_List[checked ((int) publicva.Rw_EEPROM_Add_Length_ListIndex), 0] / 256L));
|
|
publicva.SendDataBuf[5] = checked ((byte) unchecked ((long) publicva.Rw_EEPROM_Add_Length_List[checked ((int) publicva.Rw_EEPROM_Add_Length_ListIndex), 0] % 256L));
|
|
publicva.SendDataBuf[6] = checked ((byte) publicva.Rw_EEPROM_Add_Length_List[(int) publicva.Rw_EEPROM_Add_Length_ListIndex, 1]);
|
|
publicva.SendDataBuf[7] = (byte) 3;
|
|
publicva.ReceivedCount = checked ((uint) (7 + (int) publicva.SendDataBuf[6] + 1 + 1));
|
|
SerialPort1.Write(publicva.SendDataBuf, 0, 8);
|
|
}
|
|
|
|
public bool MSCcomm_StartInit(string MscommComStr, uint[,] AddressList)
|
|
{
|
|
bool flag;
|
|
try
|
|
{
|
|
if (!SerialPort1.IsOpen)
|
|
{
|
|
SerialPort1.Open();
|
|
}
|
|
else
|
|
{
|
|
MyProject.Forms.ChannelMsg.Msgbox_Msg("无法打开串口,请检查端口是否被其它程序占用!!!", "Can not open serial port, check whether the port is occupied by other programs!!!");
|
|
flag = false;
|
|
goto label_9;
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ProjectData.SetProjectError(ex);
|
|
MyProject.Forms.ChannelMsg.Msgbox_Msg("无法打开串口,请检查端口是否被其它程序占用!!!", "Can not open serial port, check whether the port is occupied by other programs!!!");
|
|
flag = false;
|
|
ProjectData.ClearProjectError();
|
|
goto label_9;
|
|
}
|
|
SerialPort1.DiscardNull = true;
|
|
publicva.F_MSCommStop = false;
|
|
publicva.MSCommTimeOut = 60U;
|
|
publicva.MSCommReconnectionCount = 0U;
|
|
publicva.ChangeCOM_Count = 0U;
|
|
publicva.MSCommStatus = 0U;
|
|
publicva.MscommCom = MscommComStr;
|
|
publicva.ReceivedCount = 5U;
|
|
publicva.Rw_EEPROM_Add_Length_ListIndex = 0U;
|
|
publicva.Rw_EEPROM_Add_Length_ListSum = checked ((uint) (Information.UBound((Array) AddressList) + 1));
|
|
uint num = checked ((uint) Information.UBound((Array) AddressList));
|
|
uint index = 0;
|
|
while (index <= num)
|
|
{
|
|
publicva.Rw_EEPROM_Add_Length_List[checked ((int) index), 0] = AddressList[checked ((int) index), 0];
|
|
publicva.Rw_EEPROM_Add_Length_List[checked ((int) index), 1] = AddressList[checked ((int) index), 1];
|
|
checked { ++index; }
|
|
}
|
|
SerialPort1.Write(publicva.Tx_Connect, 0, publicva.Tx_Connect.Length);
|
|
Timer1.Enabled = true;
|
|
publicva.LastProgrammeTime = Conversions.ToString(DateAndTime.Now.Year) + "-" + Conversions.ToString(DateAndTime.Now.Month) + "-" + Conversions.ToString(DateAndTime.Now.Day);
|
|
flag = true;
|
|
label_9:
|
|
return flag;
|
|
}
|
|
|
|
public void MSComm_Stop()
|
|
{
|
|
Timer1.Enabled = false;
|
|
publicva.MSCommTimeOut = 0U;
|
|
publicva.ChangeCOM_CNT = 0U;
|
|
publicva.F_MSCommStop = true;
|
|
publicva.ReceivedCount = 5U;
|
|
SerialPort1.DiscardNull = true;
|
|
if (!SerialPort1.IsOpen)
|
|
return;
|
|
Thread.Sleep(500);
|
|
Application.DoEvents();
|
|
SerialPort1.Close();
|
|
}
|
|
|
|
private void SerialPort1_DataReceived(object sender, SerialDataReceivedEventArgs e)
|
|
{
|
|
if ((long) SerialPort1.BytesToRead < (long) publicva.ReceivedCount)
|
|
return;
|
|
SerialPort1.Read(publicva.ReceivedDataBuf, 0, checked ((int) publicva.ReceivedCount));
|
|
switch (publicva.MSCommStatus)
|
|
{
|
|
case 0:
|
|
if (JudgeArrayDataIsSame(publicva.Rx_Connect_OK, publicva.ReceivedDataBuf))
|
|
{
|
|
publicva.MSCommTimeOut = 40U;
|
|
publicva.ChangeCOM_CNT = 0U;
|
|
publicva.MSCommStatus = 1U;
|
|
publicva.ReceivedCount = 21U;
|
|
SerialPort1.DiscardNull = false;
|
|
SerialPort1.Write(publicva.Tx_GetBandMsg, 0, publicva.Tx_GetBandMsg.Length);
|
|
break;
|
|
}
|
|
publicva.ChangeCOM_CNT = 0U;
|
|
SerialPort1.Write(publicva.Tx_Connect, 0, publicva.Tx_Connect.Length);
|
|
break;
|
|
case 1:
|
|
bool flag = false;
|
|
if (JudgeArrayDataIsSame(publicva.Rx_GetBandMsg, publicva.ReceivedDataBuf))
|
|
{
|
|
publicva.MSCommTimeOut = 40U;
|
|
string mscommCom1 = publicva.MscommCom;
|
|
if (Operators.CompareString(mscommCom1, "Write", false) == 0)
|
|
{
|
|
if (((uint) publicva.ReceivedDataBuf[15] & (uint) publicva.Bit6) > 0U)
|
|
flag = true;
|
|
}
|
|
else if (Operators.CompareString(mscommCom1, "Read", false) == 0)
|
|
{
|
|
if (((uint) publicva.ReceivedDataBuf[15] & (uint) publicva.Bit5) > 0U)
|
|
flag = true;
|
|
}
|
|
else if (Operators.CompareString(mscommCom1, "Write_Password", false) == 0 || Operators.CompareString(mscommCom1, "Read_Password", false) != 0)
|
|
;
|
|
if (flag)
|
|
{
|
|
publicva.MSCommStatus = 7U;
|
|
}
|
|
else
|
|
{
|
|
publicva.MSCommStatus = 3U;
|
|
string mscommCom2 = publicva.MscommCom;
|
|
if (Operators.CompareString(mscommCom2, "Write", false) == 0 || Operators.CompareString(mscommCom2, "Write_Password", false) == 0)
|
|
Tx_WriteDataCOM_Frame();
|
|
else if (Operators.CompareString(mscommCom2, "Read", false) == 0 || Operators.CompareString(mscommCom2, "Read_Password", false) == 0)
|
|
Tx_ReadDataCOM_Frame();
|
|
}
|
|
break;
|
|
}
|
|
break;
|
|
case 2:
|
|
if (JudgeArrayDataIsSame(publicva.Rx_Password_OK, publicva.ReceivedDataBuf))
|
|
{
|
|
publicva.MSCommTimeOut = 40U;
|
|
publicva.MSCommStatus = 3U;
|
|
string mscommCom = publicva.MscommCom;
|
|
if (Operators.CompareString(mscommCom, "Write", false) == 0)
|
|
{
|
|
Tx_WriteDataCOM_Frame();
|
|
break;
|
|
}
|
|
if (Operators.CompareString(mscommCom, "Read", false) == 0)
|
|
{
|
|
Tx_ReadDataCOM_Frame();
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
if (JudgeArrayDataIsSame(publicva.Rx_Password_Error, publicva.ReceivedDataBuf))
|
|
{
|
|
MyProject.Forms.ChannelMsg.Msgbox_Msg("密码错误", "Parrword Error");
|
|
publicva.MSCommStatus = 6U;
|
|
break;
|
|
}
|
|
break;
|
|
case 3:
|
|
string mscommCom3 = publicva.MscommCom;
|
|
if (Operators.CompareString(mscommCom3, "Write", false) == 0 || Operators.CompareString(mscommCom3, "Write_Password", false) == 0)
|
|
{
|
|
if (JudgeArrayDataIsSame(publicva.Rx_CRC_DATA_OK, publicva.ReceivedDataBuf))
|
|
{
|
|
publicva.MSCommTimeOut = 40U;
|
|
publicva.Rw_EEPROM_Add_Length_ListIndex = checked ((uint) ((long) publicva.Rw_EEPROM_Add_Length_ListIndex + 1L));
|
|
if (publicva.Rw_EEPROM_Add_Length_ListIndex >= publicva.Rw_EEPROM_Add_Length_ListSum)
|
|
{
|
|
publicva.MSCommStatus = 4U;
|
|
publicva.ReceivedCount = 5U;
|
|
SerialPort1.Write(publicva.Tx_MSCommFinish, 0, publicva.Tx_MSCommFinish.Length);
|
|
break;
|
|
}
|
|
Tx_WriteDataCOM_Frame();
|
|
break;
|
|
}
|
|
if (JudgeArrayDataIsSame(publicva.Rx_CRC_DATA_Error, publicva.ReceivedDataBuf))
|
|
{
|
|
SerialPort1.Write(publicva.SendDataBuf, 0, checked (7 + (int) publicva.SendDataBuf[6] + 1 + 1));
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
if (Operators.CompareString(mscommCom3, "Read", false) == 0 || Operators.CompareString(mscommCom3, "Read_Password", false) == 0)
|
|
{
|
|
int index = checked (7 + (int) publicva.ReceivedDataBuf[6]);
|
|
if (Operators.ConditionalCompareObjectEqual(Get_CRC_Data(publicva.ReceivedDataBuf), (object) publicva.ReceivedDataBuf[index], false))
|
|
{
|
|
publicva.MSCommTimeOut = 40U;
|
|
WriteDataToPC_EEPROM_Byte();
|
|
publicva.Rw_EEPROM_Add_Length_ListIndex = checked ((uint) ((long) publicva.Rw_EEPROM_Add_Length_ListIndex + 1L));
|
|
if (publicva.Rw_EEPROM_Add_Length_ListIndex >= publicva.Rw_EEPROM_Add_Length_ListSum)
|
|
{
|
|
publicva.MSCommStatus = 4U;
|
|
publicva.ReceivedCount = 5U;
|
|
SerialPort1.Write(publicva.Tx_MSCommFinish, 0, publicva.Tx_MSCommFinish.Length);
|
|
}
|
|
else
|
|
Tx_ReadDataCOM_Frame();
|
|
}
|
|
else
|
|
SerialPort1.Write(publicva.SendDataBuf, 0, 8);
|
|
break;
|
|
}
|
|
break;
|
|
case 4:
|
|
if (JudgeArrayDataIsSame(publicva.Rx_MSCommFinish_OK, publicva.ReceivedDataBuf))
|
|
{
|
|
publicva.MSCommStatus = 5U;
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
|
|
private void Timer1_Tick(object sender, EventArgs e)
|
|
{
|
|
switch (publicva.MSCommStatus)
|
|
{
|
|
case 5:
|
|
string mscommCom = publicva.MscommCom;
|
|
if (Operators.CompareString(mscommCom, "Write", false) == 0)
|
|
{
|
|
MSComm_Stop();
|
|
break;
|
|
}
|
|
if (Operators.CompareString(mscommCom, "Read", false) == 0)
|
|
{
|
|
AllForm_LoadData(RuntimeHelpers.GetObjectValue(sender), e);
|
|
FormTreeViewHide();
|
|
MSComm_Stop();
|
|
byte[] numArray = new byte[32769];
|
|
StreamReader streamReader = File.OpenText(Application.StartupPath + "\\default_data.hpg");
|
|
int index1 = 0;
|
|
do
|
|
{
|
|
numArray[index1] = Conversions.ToByte("&h" + streamReader.ReadLine());
|
|
checked { ++index1; }
|
|
}
|
|
while (index1 <= (int) short.MaxValue);
|
|
streamReader.Close();
|
|
int index2 = 0;
|
|
do
|
|
{
|
|
numArray[index2] = publicva.EEPROM_Byte[index2];
|
|
checked { ++index2; }
|
|
}
|
|
while (index2 <= 895);
|
|
StreamWriter text = File.CreateText(Application.StartupPath + "\\default_data.hpg");
|
|
int startIndex = 0;
|
|
do
|
|
{
|
|
text.WriteLine(BitConverter.ToString(numArray, startIndex, 1));
|
|
checked { ++startIndex; }
|
|
}
|
|
while (startIndex <= (int) short.MaxValue);
|
|
text.Close();
|
|
break;
|
|
}
|
|
if (Operators.CompareString(mscommCom, "Write_Password", false) == 0)
|
|
{
|
|
MSComm_Stop();
|
|
MyProject.Forms.ChannelMsg.Msgbox_Msg("密码更改成功!", "Password change is successful!");
|
|
break;
|
|
}
|
|
if (Operators.CompareString(mscommCom, "Read_Password", false) == 0)
|
|
{
|
|
MSComm_Stop();
|
|
int num = (int) MyProject.Forms.PasswordForm.ShowDialog();
|
|
break;
|
|
}
|
|
break;
|
|
case 6:
|
|
MSComm_Stop();
|
|
break;
|
|
case 7:
|
|
Timer1.Enabled = false;
|
|
int num1 = (int) MyProject.Forms.InputPasswordForm.ShowDialog();
|
|
break;
|
|
}
|
|
if (publicva.MSCommTimeOut > 0U)
|
|
{
|
|
publicva.MSCommTimeOut = checked ((uint) ((long) publicva.MSCommTimeOut - 1L));
|
|
if (publicva.MSCommTimeOut == 0U)
|
|
{
|
|
if (publicva.MSCommStatus == 0U)
|
|
{
|
|
publicva.MSCommReconnectionCount = checked ((uint) ((long) publicva.MSCommReconnectionCount + 1L));
|
|
if (publicva.MSCommReconnectionCount >= 5U)
|
|
{
|
|
MSComm_Stop();
|
|
MyProject.Forms.ChannelMsg.Msgbox_Msg("连接对讲机失败!", "Connection radios failed!");
|
|
}
|
|
else
|
|
{
|
|
publicva.MSCommTimeOut = 60U;
|
|
SerialPort1.Write(publicva.Tx_Connect, 0, publicva.Tx_Connect.Length);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
MSComm_Stop();
|
|
MyProject.Forms.ChannelMsg.Msgbox_Msg("传输中断请检测线路连接后重试!!!", "Transmission interruption, please check connections and try again!!!");
|
|
}
|
|
}
|
|
}
|
|
if (publicva.ChangeCOM_CNT <= 0U)
|
|
return;
|
|
publicva.ChangeCOM_CNT = checked ((uint) ((long) publicva.ChangeCOM_CNT - 1L));
|
|
if (publicva.ChangeCOM_CNT == 0U)
|
|
{
|
|
publicva.ChangeCOM_Count = checked ((uint) ((long) publicva.ChangeCOM_Count + 1L));
|
|
if ((long) publicva.ChangeCOM_Count > (long) MyProject.Forms.ComForm.ComboBox1.Items.Count)
|
|
{
|
|
MSComm_Stop();
|
|
MyProject.Forms.ChannelMsg.Msgbox_Msg("连接对讲机失败!", "Connection radios failed!");
|
|
}
|
|
else
|
|
{
|
|
try
|
|
{
|
|
if (SerialPort1.IsOpen)
|
|
{
|
|
Thread.Sleep(500);
|
|
Application.DoEvents();
|
|
SerialPort1.Close();
|
|
}
|
|
publicva.COM_SelectIndex = checked ((uint) ((long) publicva.COM_SelectIndex + 1L));
|
|
if ((long) publicva.COM_SelectIndex >= (long) MyProject.Forms.ComForm.ComboBox1.Items.Count)
|
|
publicva.COM_SelectIndex = 0U;
|
|
MyProject.Forms.ComForm.ComboBox1.SelectedIndex = checked ((int) publicva.COM_SelectIndex);
|
|
SerialPort1.PortName = MyProject.Forms.ComForm.ComboBox1.Text;
|
|
SerialPort1.Open();
|
|
publicva.MSCommTimeOut = 60U;
|
|
publicva.MSCommReconnectionCount = 0U;
|
|
SerialPort1.Write(publicva.Tx_Connect, 0, publicva.Tx_Connect.Length);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ProjectData.SetProjectError(ex);
|
|
MSComm_Stop();
|
|
MyProject.Forms.ChannelMsg.Msgbox_Msg("连接对讲机失败!", "Connection radios failed!");
|
|
ProjectData.ClearProjectError();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
private void 从对讲机读取数据RToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
int num = (int) MyProject.Forms.MSCommReadForm.ShowDialog();
|
|
}
|
|
|
|
private void 向对讲机写入数据WToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
int num = (int) MyProject.Forms.MSCommWriteForm.ShowDialog();
|
|
}
|
|
|
|
private void ReadToolStripButton_Click(object sender, EventArgs e)
|
|
{
|
|
int num = (int) MyProject.Forms.MSCommReadForm.ShowDialog();
|
|
}
|
|
|
|
private void WriteToolStripButton_Click(object sender, EventArgs e)
|
|
{
|
|
int num = (int) MyProject.Forms.MSCommWriteForm.ShowDialog();
|
|
}
|
|
|
|
private void ComPortToolStripButton_Click(object sender, EventArgs e)
|
|
{
|
|
int num = (int) MyProject.Forms.ComForm.ShowDialog();
|
|
}
|
|
|
|
private void 信道信息CToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
SafeLoadWindowByName((Form) MyProject.Forms.ChannelMsg);
|
|
}
|
|
|
|
private void 整机信息OToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
SafeLoadWindowByName((Form) MyProject.Forms.TypeFuncMsgForm);
|
|
}
|
|
|
|
private void 扫描信息SToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
SafeLoadWindowByName((Form) MyProject.Forms.ScanFuncMsgForm);
|
|
}
|
|
|
|
private void 提示音AToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
SafeLoadWindowByName((Form) MyProject.Forms.BeepForm);
|
|
}
|
|
|
|
private void 双音多频DToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
SafeLoadWindowByName((Form) MyProject.Forms.DtmfForm);
|
|
}
|
|
|
|
private void 两音TToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
SafeLoadWindowByName((Form) MyProject.Forms._2ToneForm);
|
|
}
|
|
|
|
private void 五音FToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
SafeLoadWindowByName((Form) MyProject.Forms._5ToneForm);
|
|
}
|
|
|
|
private void 紧急报警信息EToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
SafeLoadWindowByName((Form) MyProject.Forms.SOSMsgForm);
|
|
}
|
|
|
|
private void 收音机存储信道JToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
SafeLoadWindowByName((Form) MyProject.Forms.RadioMsgForm);
|
|
}
|
|
|
|
private void 嵌入信息IToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
SafeLoadWindowByName((Form) MyProject.Forms.MsgForm);
|
|
}
|
|
|
|
private void 对讲机信息RToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
SafeLoadWindowByName((Form) MyProject.Forms.SofeMsgForm);
|
|
}
|
|
|
|
private void 机型信息MToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
SafeLoadWindowByName((Form) MyProject.Forms.TypeMsgForm);
|
|
}
|
|
|
|
private void AboutToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
int num = (int) MyProject.Forms.AboutForm.ShowDialog();
|
|
}
|
|
|
|
private void 更改密码CToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
if (!MSCcomm_StartInit("Read_Password", publicva.RPassword_EEPROM_Add_Lendgth_List))
|
|
;
|
|
}
|
|
|
|
private void changeLanguage(string languageName)
|
|
{
|
|
try
|
|
{
|
|
LanguageHelper.SetLanguage(languageName, (Form) this);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms._2ToneForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms._5ToneForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.AboutForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.BeepForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.ChannelEditForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.ChannelMsg);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.ComForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.DtmfForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.InputPasswordForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.MSCommReadForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.MSCommWriteForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.MsgForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.PasswordForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.RadioMsgForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.ScanFuncMsgForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.SofeMsgForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.SOSMsgForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.TypeFuncMsgForm);
|
|
LanguageHelper.SetLanguage(languageName, (Form) MyProject.Forms.TypeMsgForm);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ProjectData.SetProjectError(ex);
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
private void 中文ToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
|
return;
|
|
CloseAllToolStripMenuItem_Click(RuntimeHelpers.GetObjectValue(sender), e);
|
|
publicva.Language = "zh-CN";
|
|
中文ToolStripMenuItem.Checked = true;
|
|
英文ToolStripMenuItem.Checked = false;
|
|
AllForm_SaveData(RuntimeHelpers.GetObjectValue(sender), e);
|
|
changeLanguage(publicva.Language);
|
|
AllForm_LoadData(RuntimeHelpers.GetObjectValue(sender), e);
|
|
FormTreeViewHide();
|
|
SafeLoadWindowByName((Form) MyProject.Forms.ChannelMsg);
|
|
CascadeToolStripMenuItem_Click(RuntimeHelpers.GetObjectValue(sender), e);
|
|
try
|
|
{
|
|
StreamWriter text = File.CreateText(Application.StartupPath + "\\Config.hpg");
|
|
text.WriteLine(publicva.Language);
|
|
text.Close();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ProjectData.SetProjectError(ex);
|
|
ProjectData.ClearProjectError();
|
|
}
|
|
}
|
|
|
|
private void 英文ToolStripMenuItem_Click(object sender, EventArgs e)
|
|
{
|
|
if (Operators.CompareString(publicva.Language, "en-US", false) == 0)
|
|
return;
|
|
CloseAllToolStripMenuItem_Click(RuntimeHelpers.GetObjectValue(sender), e);
|
|
publicva.Language = "en-US";
|
|
中文ToolStripMenuItem.Checked = false;
|
|
英文ToolStripMenuItem.Checked = true;
|
|
AllForm_SaveData(RuntimeHelpers.GetObjectValue(sender), e);
|
|
changeLanguage(publicva.Language);
|
|
AllForm_LoadData(RuntimeHelpers.GetObjectValue(sender), e);
|
|
FormTreeViewHide();
|
|
SafeLoadWindowByName((Form) MyProject.Forms.ChannelMsg);
|
|
CascadeToolStripMenuItem_Click(RuntimeHelpers.GetObjectValue(sender), e);
|
|
try
|
|
{
|
|
StreamWriter text = File.CreateText(Application.StartupPath + "\\Config.hpg");
|
|
text.WriteLine(publicva.Language);
|
|
text.Close();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ProjectData.SetProjectError(ex);
|
|
ProjectData.ClearProjectError();
|
|
}
|
|
}
|
|
}
|
|
}
|