|
|
|
|
|
namespace SymbolLibManager
|
|
|
|
|
|
{
|
|
|
|
|
|
partial class FrmMarkMain
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
|
{
|
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
|
{
|
|
|
|
|
|
components.Dispose();
|
|
|
|
|
|
}
|
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
|
{
|
|
|
|
|
|
components = new System.ComponentModel.Container();
|
|
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMarkMain));
|
|
|
|
|
|
toolStrip1 = new System.Windows.Forms.ToolStrip();
|
|
|
|
|
|
txtSearchName = new System.Windows.Forms.ToolStripTextBox();
|
|
|
|
|
|
tsbtnFindSymbol = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
tsbtnOK = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
tsbtnCancel = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
spMain = new System.Windows.Forms.SplitContainer();
|
|
|
|
|
|
spSymbols = new System.Windows.Forms.SplitContainer();
|
|
|
|
|
|
trvSymbol = new System.Windows.Forms.TreeView();
|
|
|
|
|
|
imageList1 = new System.Windows.Forms.ImageList(components);
|
|
|
|
|
|
tspTree = new System.Windows.Forms.ToolStrip();
|
|
|
|
|
|
tsbtnNewGroup = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
tsbtnDeleteFile = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
tsbtnImportFile = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
tsbtnExportFile = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
lsvSymbol = new System.Windows.Forms.ListView();
|
|
|
|
|
|
tspItems = new System.Windows.Forms.ToolStrip();
|
|
|
|
|
|
tsbtnSymbolCopy = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
tsbtnSymbolPaste = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
|
tsbtnEdit = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
tsbtnListAdd = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
tsbtnListRemove = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
ctmTree = new System.Windows.Forms.ContextMenuStrip(components);
|
|
|
|
|
|
tmiRename = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
|
tmiDeleteFile = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
|
tmiMerge = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
|
ctmSymbols = new System.Windows.Forms.ContextMenuStrip(components);
|
|
|
|
|
|
ctsbtnEditName = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
|
toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
|
ctsbtnCopySymbol = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
|
ctsbtnPasteSymbol = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
|
toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
|
ctsbtnDeleteSymbol = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
|
statusStrip1 = new System.Windows.Forms.StatusStrip();
|
|
|
|
|
|
statusLableGroup = new System.Windows.Forms.ToolStripStatusLabel();
|
|
|
|
|
|
tsbtnRemoveSymbol = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
toolStrip1.SuspendLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)spMain).BeginInit();
|
|
|
|
|
|
spMain.Panel1.SuspendLayout();
|
|
|
|
|
|
spMain.SuspendLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)spSymbols).BeginInit();
|
|
|
|
|
|
spSymbols.Panel1.SuspendLayout();
|
|
|
|
|
|
spSymbols.Panel2.SuspendLayout();
|
|
|
|
|
|
spSymbols.SuspendLayout();
|
|
|
|
|
|
tspTree.SuspendLayout();
|
|
|
|
|
|
tspItems.SuspendLayout();
|
|
|
|
|
|
ctmTree.SuspendLayout();
|
|
|
|
|
|
ctmSymbols.SuspendLayout();
|
|
|
|
|
|
statusStrip1.SuspendLayout();
|
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
|
//
|
|
|
|
|
|
// toolStrip1
|
|
|
|
|
|
//
|
|
|
|
|
|
toolStrip1.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
|
|
|
|
|
|
toolStrip1.ImageScalingSize = new System.Drawing.Size(32, 32);
|
|
|
|
|
|
toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { txtSearchName, tsbtnFindSymbol, tsbtnOK, tsbtnCancel });
|
|
|
|
|
|
toolStrip1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
toolStrip1.Name = "toolStrip1";
|
|
|
|
|
|
toolStrip1.Size = new System.Drawing.Size(1099, 25);
|
|
|
|
|
|
toolStrip1.TabIndex = 1;
|
|
|
|
|
|
toolStrip1.Text = "toolStrip1";
|
|
|
|
|
|
//
|
|
|
|
|
|
// txtSearchName
|
|
|
|
|
|
//
|
|
|
|
|
|
txtSearchName.Name = "txtSearchName";
|
|
|
|
|
|
txtSearchName.Size = new System.Drawing.Size(116, 25);
|
|
|
|
|
|
txtSearchName.KeyPress += txtSearchName_KeyPress;
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbtnFindSymbol
|
|
|
|
|
|
//
|
|
|
|
|
|
tsbtnFindSymbol.Image = (System.Drawing.Image)resources.GetObject("tsbtnFindSymbol.Image");
|
|
|
|
|
|
tsbtnFindSymbol.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
tsbtnFindSymbol.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
tsbtnFindSymbol.Name = "tsbtnFindSymbol";
|
|
|
|
|
|
tsbtnFindSymbol.Size = new System.Drawing.Size(50, 22);
|
|
|
|
|
|
tsbtnFindSymbol.Text = "查找";
|
|
|
|
|
|
tsbtnFindSymbol.ToolTipText = "查找符号";
|
|
|
|
|
|
tsbtnFindSymbol.Click += tsbtnFindSymbol_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbtnOK
|
|
|
|
|
|
//
|
|
|
|
|
|
tsbtnOK.Image = (System.Drawing.Image)resources.GetObject("tsbtnOK.Image");
|
|
|
|
|
|
tsbtnOK.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
tsbtnOK.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
tsbtnOK.Name = "tsbtnOK";
|
|
|
|
|
|
tsbtnOK.Size = new System.Drawing.Size(50, 22);
|
|
|
|
|
|
tsbtnOK.Text = "确定";
|
|
|
|
|
|
tsbtnOK.Visible = false;
|
|
|
|
|
|
tsbtnOK.Click += tsbtnOK_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbtnCancel
|
|
|
|
|
|
//
|
|
|
|
|
|
tsbtnCancel.Image = (System.Drawing.Image)resources.GetObject("tsbtnCancel.Image");
|
|
|
|
|
|
tsbtnCancel.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
tsbtnCancel.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
tsbtnCancel.Name = "tsbtnCancel";
|
|
|
|
|
|
tsbtnCancel.Size = new System.Drawing.Size(51, 22);
|
|
|
|
|
|
tsbtnCancel.Text = "取消";
|
|
|
|
|
|
tsbtnCancel.Visible = false;
|
|
|
|
|
|
tsbtnCancel.Click += tsbtnCancel_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// spMain
|
|
|
|
|
|
//
|
|
|
|
|
|
spMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
spMain.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
|
|
|
|
|
spMain.Location = new System.Drawing.Point(0, 25);
|
|
|
|
|
|
spMain.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
|
spMain.Name = "spMain";
|
|
|
|
|
|
//
|
|
|
|
|
|
// spMain.Panel1
|
|
|
|
|
|
//
|
|
|
|
|
|
spMain.Panel1.Controls.Add(spSymbols);
|
|
|
|
|
|
spMain.Size = new System.Drawing.Size(1099, 613);
|
|
|
|
|
|
spMain.SplitterDistance = 709;
|
|
|
|
|
|
spMain.SplitterWidth = 5;
|
|
|
|
|
|
spMain.TabIndex = 2;
|
|
|
|
|
|
//
|
|
|
|
|
|
// spSymbols
|
|
|
|
|
|
//
|
|
|
|
|
|
spSymbols.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
spSymbols.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
|
|
|
|
|
spSymbols.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
spSymbols.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
|
spSymbols.Name = "spSymbols";
|
|
|
|
|
|
//
|
|
|
|
|
|
// spSymbols.Panel1
|
|
|
|
|
|
//
|
|
|
|
|
|
spSymbols.Panel1.Controls.Add(trvSymbol);
|
|
|
|
|
|
spSymbols.Panel1.Controls.Add(tspTree);
|
|
|
|
|
|
//
|
|
|
|
|
|
// spSymbols.Panel2
|
|
|
|
|
|
//
|
|
|
|
|
|
spSymbols.Panel2.Controls.Add(lsvSymbol);
|
|
|
|
|
|
spSymbols.Panel2.Controls.Add(tspItems);
|
|
|
|
|
|
spSymbols.Size = new System.Drawing.Size(709, 613);
|
|
|
|
|
|
spSymbols.SplitterDistance = 303;
|
|
|
|
|
|
spSymbols.SplitterWidth = 5;
|
|
|
|
|
|
spSymbols.TabIndex = 0;
|
|
|
|
|
|
//
|
|
|
|
|
|
// trvSymbol
|
|
|
|
|
|
//
|
|
|
|
|
|
trvSymbol.CheckBoxes = true;
|
|
|
|
|
|
trvSymbol.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
trvSymbol.HideSelection = false;
|
|
|
|
|
|
trvSymbol.ImageIndex = 0;
|
|
|
|
|
|
trvSymbol.ImageList = imageList1;
|
|
|
|
|
|
trvSymbol.LabelEdit = true;
|
|
|
|
|
|
trvSymbol.Location = new System.Drawing.Point(0, 25);
|
|
|
|
|
|
trvSymbol.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
|
trvSymbol.Name = "trvSymbol";
|
|
|
|
|
|
trvSymbol.SelectedImageIndex = 0;
|
|
|
|
|
|
trvSymbol.ShowRootLines = false;
|
|
|
|
|
|
trvSymbol.Size = new System.Drawing.Size(303, 588);
|
|
|
|
|
|
trvSymbol.TabIndex = 0;
|
|
|
|
|
|
trvSymbol.AfterLabelEdit += trvSymbol_AfterLabelEdit;
|
|
|
|
|
|
trvSymbol.AfterSelect += trvSymbol_AfterSelect;
|
|
|
|
|
|
trvSymbol.NodeMouseClick += trvSymbol_NodeMouseClick;
|
|
|
|
|
|
//
|
|
|
|
|
|
// imageList1
|
|
|
|
|
|
//
|
|
|
|
|
|
imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
|
|
|
|
|
|
imageList1.ImageStream = (System.Windows.Forms.ImageListStreamer)resources.GetObject("imageList1.ImageStream");
|
|
|
|
|
|
imageList1.TransparentColor = System.Drawing.Color.Transparent;
|
|
|
|
|
|
imageList1.Images.SetKeyName(0, "Shape_16x16.png");
|
|
|
|
|
|
imageList1.Images.SetKeyName(1, "TreeView_16x16.png");
|
|
|
|
|
|
//
|
|
|
|
|
|
// tspTree
|
|
|
|
|
|
//
|
|
|
|
|
|
tspTree.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
|
|
|
|
|
|
tspTree.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
|
|
|
|
|
|
tspTree.ImageScalingSize = new System.Drawing.Size(32, 32);
|
|
|
|
|
|
tspTree.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { tsbtnNewGroup, tsbtnDeleteFile, tsbtnImportFile, tsbtnExportFile });
|
|
|
|
|
|
tspTree.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
tspTree.Name = "tspTree";
|
|
|
|
|
|
tspTree.Size = new System.Drawing.Size(303, 25);
|
|
|
|
|
|
tspTree.TabIndex = 1;
|
|
|
|
|
|
tspTree.Text = "toolStrip3";
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbtnNewGroup
|
|
|
|
|
|
//
|
|
|
|
|
|
tsbtnNewGroup.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
tsbtnNewGroup.Image = (System.Drawing.Image)resources.GetObject("tsbtnNewGroup.Image");
|
|
|
|
|
|
tsbtnNewGroup.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
tsbtnNewGroup.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
tsbtnNewGroup.Name = "tsbtnNewGroup";
|
|
|
|
|
|
tsbtnNewGroup.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
|
tsbtnNewGroup.Text = "新建符号库";
|
|
|
|
|
|
tsbtnNewGroup.Click += tsbtnNewGroup_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbtnDeleteFile
|
|
|
|
|
|
//
|
|
|
|
|
|
tsbtnDeleteFile.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
tsbtnDeleteFile.Image = (System.Drawing.Image)resources.GetObject("tsbtnDeleteFile.Image");
|
|
|
|
|
|
tsbtnDeleteFile.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
tsbtnDeleteFile.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
tsbtnDeleteFile.Name = "tsbtnDeleteFile";
|
|
|
|
|
|
tsbtnDeleteFile.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
|
tsbtnDeleteFile.Text = "删除符号库";
|
|
|
|
|
|
tsbtnDeleteFile.Click += tsbtnDeleteFile_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbtnImportFile
|
|
|
|
|
|
//
|
|
|
|
|
|
tsbtnImportFile.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
tsbtnImportFile.Image = (System.Drawing.Image)resources.GetObject("tsbtnImportFile.Image");
|
|
|
|
|
|
tsbtnImportFile.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
tsbtnImportFile.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
tsbtnImportFile.Name = "tsbtnImportFile";
|
|
|
|
|
|
tsbtnImportFile.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
|
tsbtnImportFile.Text = "导入";
|
|
|
|
|
|
tsbtnImportFile.Click += tsbtnImportFile_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbtnExportFile
|
|
|
|
|
|
//
|
|
|
|
|
|
tsbtnExportFile.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
tsbtnExportFile.Image = (System.Drawing.Image)resources.GetObject("tsbtnExportFile.Image");
|
|
|
|
|
|
tsbtnExportFile.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
tsbtnExportFile.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
tsbtnExportFile.Name = "tsbtnExportFile";
|
|
|
|
|
|
tsbtnExportFile.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
|
tsbtnExportFile.Text = "导出";
|
|
|
|
|
|
tsbtnExportFile.Click += tsbtnExportFile_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// lsvSymbol
|
|
|
|
|
|
//
|
|
|
|
|
|
lsvSymbol.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
lsvSymbol.LabelEdit = true;
|
|
|
|
|
|
lsvSymbol.Location = new System.Drawing.Point(0, 25);
|
|
|
|
|
|
lsvSymbol.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
|
lsvSymbol.Name = "lsvSymbol";
|
|
|
|
|
|
lsvSymbol.Size = new System.Drawing.Size(401, 588);
|
|
|
|
|
|
lsvSymbol.TabIndex = 0;
|
|
|
|
|
|
lsvSymbol.UseCompatibleStateImageBehavior = false;
|
|
|
|
|
|
lsvSymbol.AfterLabelEdit += lsvSymbol_AfterLabelEdit;
|
|
|
|
|
|
lsvSymbol.ItemSelectionChanged += lsvSymbol_ItemSelectionChanged;
|
|
|
|
|
|
lsvSymbol.RetrieveVirtualItem += lsvSymbol_RetrieveVirtualItem;
|
|
|
|
|
|
//
|
|
|
|
|
|
// tspItems
|
|
|
|
|
|
//
|
|
|
|
|
|
tspItems.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
|
|
|
|
|
|
tspItems.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
|
|
|
|
|
|
tspItems.ImageScalingSize = new System.Drawing.Size(32, 32);
|
|
|
|
|
|
tspItems.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { tsbtnSymbolCopy, tsbtnSymbolPaste, toolStripSeparator1, tsbtnEdit, tsbtnListAdd, tsbtnListRemove, tsbtnRemoveSymbol });
|
|
|
|
|
|
tspItems.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
tspItems.Name = "tspItems";
|
|
|
|
|
|
tspItems.Size = new System.Drawing.Size(401, 25);
|
|
|
|
|
|
tspItems.TabIndex = 1;
|
|
|
|
|
|
tspItems.Text = "toolStrip2";
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbtnSymbolCopy
|
|
|
|
|
|
//
|
|
|
|
|
|
tsbtnSymbolCopy.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
tsbtnSymbolCopy.Image = (System.Drawing.Image)resources.GetObject("tsbtnSymbolCopy.Image");
|
|
|
|
|
|
tsbtnSymbolCopy.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
tsbtnSymbolCopy.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
tsbtnSymbolCopy.Name = "tsbtnSymbolCopy";
|
|
|
|
|
|
tsbtnSymbolCopy.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
|
tsbtnSymbolCopy.Text = "复制";
|
|
|
|
|
|
tsbtnSymbolCopy.Click += tsbtnSymbolCopy_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbtnSymbolPaste
|
|
|
|
|
|
//
|
|
|
|
|
|
tsbtnSymbolPaste.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
tsbtnSymbolPaste.Image = (System.Drawing.Image)resources.GetObject("tsbtnSymbolPaste.Image");
|
|
|
|
|
|
tsbtnSymbolPaste.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
tsbtnSymbolPaste.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
tsbtnSymbolPaste.Name = "tsbtnSymbolPaste";
|
|
|
|
|
|
tsbtnSymbolPaste.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
|
tsbtnSymbolPaste.Text = "粘贴";
|
|
|
|
|
|
tsbtnSymbolPaste.Click += tsbtnSymbolPaste_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// toolStripSeparator1
|
|
|
|
|
|
//
|
|
|
|
|
|
toolStripSeparator1.Name = "toolStripSeparator1";
|
|
|
|
|
|
toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbtnEdit
|
|
|
|
|
|
//
|
|
|
|
|
|
tsbtnEdit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
tsbtnEdit.Image = (System.Drawing.Image)resources.GetObject("tsbtnEdit.Image");
|
|
|
|
|
|
tsbtnEdit.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
tsbtnEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
tsbtnEdit.Name = "tsbtnEdit";
|
|
|
|
|
|
tsbtnEdit.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
|
tsbtnEdit.Text = "修改名称";
|
|
|
|
|
|
tsbtnEdit.Click += tsbtnEdit_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbtnListAdd
|
|
|
|
|
|
//
|
|
|
|
|
|
tsbtnListAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
tsbtnListAdd.Image = (System.Drawing.Image)resources.GetObject("tsbtnListAdd.Image");
|
|
|
|
|
|
tsbtnListAdd.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
tsbtnListAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
tsbtnListAdd.Name = "tsbtnListAdd";
|
|
|
|
|
|
tsbtnListAdd.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
|
tsbtnListAdd.Text = "新建";
|
|
|
|
|
|
tsbtnListAdd.Click += tsbtnListAdd_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbtnListRemove
|
|
|
|
|
|
//
|
|
|
|
|
|
tsbtnListRemove.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
tsbtnListRemove.Image = (System.Drawing.Image)resources.GetObject("tsbtnListRemove.Image");
|
|
|
|
|
|
tsbtnListRemove.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
tsbtnListRemove.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
tsbtnListRemove.Name = "tsbtnListRemove";
|
|
|
|
|
|
tsbtnListRemove.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
|
tsbtnListRemove.Text = "删除";
|
|
|
|
|
|
tsbtnListRemove.Click += tsbtnListRemove_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// ctmTree
|
|
|
|
|
|
//
|
|
|
|
|
|
ctmTree.ImageScalingSize = new System.Drawing.Size(32, 32);
|
|
|
|
|
|
ctmTree.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { tmiRename, tmiDeleteFile, tmiMerge });
|
|
|
|
|
|
ctmTree.Name = "ctmTree";
|
|
|
|
|
|
ctmTree.Size = new System.Drawing.Size(113, 70);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tmiRename
|
|
|
|
|
|
//
|
|
|
|
|
|
tmiRename.Name = "tmiRename";
|
|
|
|
|
|
tmiRename.Size = new System.Drawing.Size(112, 22);
|
|
|
|
|
|
tmiRename.Text = "重命名";
|
|
|
|
|
|
tmiRename.Click += tmiRename_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// tmiDeleteFile
|
|
|
|
|
|
//
|
|
|
|
|
|
tmiDeleteFile.Name = "tmiDeleteFile";
|
|
|
|
|
|
tmiDeleteFile.Size = new System.Drawing.Size(112, 22);
|
|
|
|
|
|
tmiDeleteFile.Text = "删除";
|
|
|
|
|
|
tmiDeleteFile.Click += tmiDeleteFile_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// tmiMerge
|
|
|
|
|
|
//
|
|
|
|
|
|
tmiMerge.Name = "tmiMerge";
|
|
|
|
|
|
tmiMerge.Size = new System.Drawing.Size(112, 22);
|
|
|
|
|
|
tmiMerge.Text = "合并";
|
|
|
|
|
|
tmiMerge.Click += tmiMerge_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// ctmSymbols
|
|
|
|
|
|
//
|
|
|
|
|
|
ctmSymbols.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
|
|
|
|
|
|
ctmSymbols.ImageScalingSize = new System.Drawing.Size(32, 32);
|
|
|
|
|
|
ctmSymbols.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { ctsbtnEditName, toolStripSeparator3, ctsbtnCopySymbol, ctsbtnPasteSymbol, toolStripSeparator2, ctsbtnDeleteSymbol });
|
|
|
|
|
|
ctmSymbols.Name = "ctmSymbols";
|
|
|
|
|
|
ctmSymbols.Size = new System.Drawing.Size(141, 168);
|
|
|
|
|
|
ctmSymbols.Opening += ctmSymbols_Opening;
|
|
|
|
|
|
//
|
|
|
|
|
|
// ctsbtnEditName
|
|
|
|
|
|
//
|
|
|
|
|
|
ctsbtnEditName.Image = Properties.Resources.EditName_16x16;
|
|
|
|
|
|
ctsbtnEditName.Name = "ctsbtnEditName";
|
|
|
|
|
|
ctsbtnEditName.Size = new System.Drawing.Size(140, 38);
|
|
|
|
|
|
ctsbtnEditName.Text = "编辑名称";
|
|
|
|
|
|
ctsbtnEditName.Click += tsbtnEdit_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// toolStripSeparator3
|
|
|
|
|
|
//
|
|
|
|
|
|
toolStripSeparator3.Name = "toolStripSeparator3";
|
|
|
|
|
|
toolStripSeparator3.Size = new System.Drawing.Size(137, 6);
|
|
|
|
|
|
//
|
|
|
|
|
|
// ctsbtnCopySymbol
|
|
|
|
|
|
//
|
|
|
|
|
|
ctsbtnCopySymbol.Image = Properties.Resources.Copy_16x16;
|
|
|
|
|
|
ctsbtnCopySymbol.Name = "ctsbtnCopySymbol";
|
|
|
|
|
|
ctsbtnCopySymbol.Size = new System.Drawing.Size(140, 38);
|
|
|
|
|
|
ctsbtnCopySymbol.Text = "复制";
|
|
|
|
|
|
ctsbtnCopySymbol.Click += tsbtnSymbolCopy_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// ctsbtnPasteSymbol
|
|
|
|
|
|
//
|
|
|
|
|
|
ctsbtnPasteSymbol.Image = Properties.Resources.Paste_16x16;
|
|
|
|
|
|
ctsbtnPasteSymbol.Name = "ctsbtnPasteSymbol";
|
|
|
|
|
|
ctsbtnPasteSymbol.Size = new System.Drawing.Size(140, 38);
|
|
|
|
|
|
ctsbtnPasteSymbol.Text = "粘贴";
|
|
|
|
|
|
ctsbtnPasteSymbol.Click += tsbtnSymbolPaste_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// toolStripSeparator2
|
|
|
|
|
|
//
|
|
|
|
|
|
toolStripSeparator2.Name = "toolStripSeparator2";
|
|
|
|
|
|
toolStripSeparator2.Size = new System.Drawing.Size(137, 6);
|
|
|
|
|
|
//
|
|
|
|
|
|
// ctsbtnDeleteSymbol
|
|
|
|
|
|
//
|
|
|
|
|
|
ctsbtnDeleteSymbol.Image = Properties.Resources.DeleteNorma16x16l;
|
|
|
|
|
|
ctsbtnDeleteSymbol.Name = "ctsbtnDeleteSymbol";
|
|
|
|
|
|
ctsbtnDeleteSymbol.Size = new System.Drawing.Size(140, 38);
|
|
|
|
|
|
ctsbtnDeleteSymbol.Text = "删除";
|
|
|
|
|
|
ctsbtnDeleteSymbol.Click += tsbtnListRemove_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// statusStrip1
|
|
|
|
|
|
//
|
|
|
|
|
|
statusStrip1.ImageScalingSize = new System.Drawing.Size(32, 32);
|
|
|
|
|
|
statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { statusLableGroup });
|
|
|
|
|
|
statusStrip1.Location = new System.Drawing.Point(0, 638);
|
|
|
|
|
|
statusStrip1.Name = "statusStrip1";
|
|
|
|
|
|
statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 16, 0);
|
|
|
|
|
|
statusStrip1.Size = new System.Drawing.Size(1099, 22);
|
|
|
|
|
|
statusStrip1.TabIndex = 3;
|
|
|
|
|
|
statusStrip1.Text = "statusStrip1";
|
|
|
|
|
|
//
|
|
|
|
|
|
// statusLableGroup
|
|
|
|
|
|
//
|
|
|
|
|
|
statusLableGroup.Name = "statusLableGroup";
|
|
|
|
|
|
statusLableGroup.Size = new System.Drawing.Size(44, 17);
|
|
|
|
|
|
statusLableGroup.Text = "所属:";
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbtnRemoveSymbol
|
|
|
|
|
|
//
|
|
|
|
|
|
tsbtnRemoveSymbol.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
tsbtnRemoveSymbol.Image = Properties.Resources.DeleteNorma16x16l;
|
|
|
|
|
|
tsbtnRemoveSymbol.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
tsbtnRemoveSymbol.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
tsbtnRemoveSymbol.Name = "tsbtnRemoveSymbol";
|
|
|
|
|
|
tsbtnRemoveSymbol.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
|
tsbtnRemoveSymbol.Text = "清理未使用符号";
|
|
|
|
|
|
tsbtnRemoveSymbol.Click += tsbtnRemoveSymbol_Click;
|
|
|
|
|
|
//
|
|
|
|
|
|
// FrmMarkMain
|
|
|
|
|
|
//
|
|
|
|
|
|
AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
|
|
|
|
|
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
|
ClientSize = new System.Drawing.Size(1099, 660);
|
|
|
|
|
|
Controls.Add(spMain);
|
|
|
|
|
|
Controls.Add(toolStrip1);
|
|
|
|
|
|
Controls.Add(statusStrip1);
|
|
|
|
|
|
Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon");
|
|
|
|
|
|
Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
|
|
Name = "FrmMarkMain";
|
|
|
|
|
|
StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
|
|
|
|
Text = "符号管理";
|
|
|
|
|
|
FormClosing += FrmMarkMain_FormClosing;
|
|
|
|
|
|
FormClosed += FrmMarkMain_FormClosed;
|
|
|
|
|
|
Load += FrmMarkMain_Load;
|
|
|
|
|
|
toolStrip1.ResumeLayout(false);
|
|
|
|
|
|
toolStrip1.PerformLayout();
|
|
|
|
|
|
spMain.Panel1.ResumeLayout(false);
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)spMain).EndInit();
|
|
|
|
|
|
spMain.ResumeLayout(false);
|
|
|
|
|
|
spSymbols.Panel1.ResumeLayout(false);
|
|
|
|
|
|
spSymbols.Panel1.PerformLayout();
|
|
|
|
|
|
spSymbols.Panel2.ResumeLayout(false);
|
|
|
|
|
|
spSymbols.Panel2.PerformLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)spSymbols).EndInit();
|
|
|
|
|
|
spSymbols.ResumeLayout(false);
|
|
|
|
|
|
tspTree.ResumeLayout(false);
|
|
|
|
|
|
tspTree.PerformLayout();
|
|
|
|
|
|
tspItems.ResumeLayout(false);
|
|
|
|
|
|
tspItems.PerformLayout();
|
|
|
|
|
|
ctmTree.ResumeLayout(false);
|
|
|
|
|
|
ctmSymbols.ResumeLayout(false);
|
|
|
|
|
|
statusStrip1.ResumeLayout(false);
|
|
|
|
|
|
statusStrip1.PerformLayout();
|
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
|
PerformLayout();
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
//private UCDraw.UC.MainView mainView;
|
|
|
|
|
|
private System.Windows.Forms.ToolStrip toolStrip1;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripTextBox txtSearchName;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbtnFindSymbol;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbtnOK;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbtnCancel;
|
|
|
|
|
|
private System.Windows.Forms.SplitContainer spMain;
|
|
|
|
|
|
private System.Windows.Forms.SplitContainer spSymbols;
|
|
|
|
|
|
private System.Windows.Forms.TreeView trvSymbol;
|
|
|
|
|
|
private System.Windows.Forms.ListView lsvSymbol;
|
|
|
|
|
|
private System.Windows.Forms.ImageList imageList1;
|
|
|
|
|
|
private System.Windows.Forms.ToolStrip tspItems;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbtnListAdd;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbtnEdit;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbtnListRemove;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbtnSymbolCopy;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbtnSymbolPaste;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
|
|
|
|
|
private System.Windows.Forms.StatusStrip statusStrip1;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripStatusLabel statusLableGroup;
|
|
|
|
|
|
private System.Windows.Forms.ContextMenuStrip ctmSymbols;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem ctsbtnEditName;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem ctsbtnCopySymbol;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem ctsbtnPasteSymbol;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem ctsbtnDeleteSymbol;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
|
|
|
|
|
private System.Windows.Forms.ToolStrip tspTree;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbtnNewGroup;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbtnDeleteFile;
|
|
|
|
|
|
private System.Windows.Forms.ContextMenuStrip ctmTree;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem tmiRename;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem tmiDeleteFile;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbtnImportFile;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbtnExportFile;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem tmiMerge;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbtnRemoveSymbol;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|