|
|
|
|
|
using UCDraw;
|
|
|
|
|
|
|
|
|
|
|
|
namespace SymbolLibManager
|
|
|
|
|
|
{
|
|
|
|
|
|
partial class frmMarkEditor
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <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()
|
|
|
|
|
|
{
|
|
|
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMarkEditor));
|
|
|
|
|
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
|
|
|
|
|
this.treeSymbol = new System.Windows.Forms.TreeView();
|
|
|
|
|
|
this.navigatorLeft = new ComponentFactory.Krypton.Navigator.KryptonNavigator();
|
|
|
|
|
|
this.buttonSpecHeaderGroup1 = new ComponentFactory.Krypton.Navigator.ButtonSpecNavigator();
|
|
|
|
|
|
this.kryptonPage2 = new ComponentFactory.Krypton.Navigator.KryptonPage();
|
|
|
|
|
|
this.layerTree = new UCDraw.LayerTree();
|
|
|
|
|
|
this.pnlProperty = new UCDraw.PanelProperty();
|
|
|
|
|
|
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
|
|
|
|
|
this.lvSymbol = new System.Windows.Forms.ListView();
|
|
|
|
|
|
this.imgFileTree = new System.Windows.Forms.ImageList(this.components);
|
|
|
|
|
|
this.viewer = new UCDraw.DrawViewer();
|
|
|
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
|
|
|
this.lbSymbolNodePath = new System.Windows.Forms.Label();
|
|
|
|
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
|
|
|
|
this.btnOk = new System.Windows.Forms.Button();
|
|
|
|
|
|
this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
|
|
|
|
|
|
this.tsTool = new System.Windows.Forms.ToolStrip();
|
|
|
|
|
|
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
|
|
|
|
|
this.tstbSearch = new System.Windows.Forms.ToolStripTextBox();
|
|
|
|
|
|
this.tsbtnSearch = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.tsbNew = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.tsbSave = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.tsbDelete = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.btnZoomIn = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.btnZoomOut = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.tsbPan = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.tsbViewWindow = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.tsbViewAll = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.tsbRedraw = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
|
this.undoButton = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.redoButton = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
|
this.tsbToolDefault = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.tsbSelect = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
|
this.tsbCurveAdd = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.drawRectangleButton = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.tsbCircle = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.drawEllipseButton = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.drawTextButton = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.gridBtn = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.highLightTipBtn = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
|
this.cmsSymbolMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
|
|
|
|
this.tsmiRename = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
|
this.tsmiCopy = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
|
this.imgSymbol = new System.Windows.Forms.ImageList(this.components);
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
|
|
|
|
|
this.splitContainer1.Panel1.SuspendLayout();
|
|
|
|
|
|
this.splitContainer1.Panel2.SuspendLayout();
|
|
|
|
|
|
this.splitContainer1.SuspendLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.navigatorLeft)).BeginInit();
|
|
|
|
|
|
this.navigatorLeft.SuspendLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.kryptonPage2)).BeginInit();
|
|
|
|
|
|
this.kryptonPage2.SuspendLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
|
|
|
|
|
|
this.splitContainer2.Panel1.SuspendLayout();
|
|
|
|
|
|
this.splitContainer2.Panel2.SuspendLayout();
|
|
|
|
|
|
this.splitContainer2.SuspendLayout();
|
|
|
|
|
|
this.panel1.SuspendLayout();
|
|
|
|
|
|
this.toolStripContainer1.ContentPanel.SuspendLayout();
|
|
|
|
|
|
this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
|
|
|
|
|
|
this.toolStripContainer1.SuspendLayout();
|
|
|
|
|
|
this.tsTool.SuspendLayout();
|
|
|
|
|
|
this.cmsSymbolMenu.SuspendLayout();
|
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
|
//
|
|
|
|
|
|
// splitContainer1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
this.splitContainer1.Name = "splitContainer1";
|
|
|
|
|
|
//
|
|
|
|
|
|
// splitContainer1.Panel1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.treeSymbol);
|
|
|
|
|
|
//
|
|
|
|
|
|
// splitContainer1.Panel2
|
|
|
|
|
|
//
|
|
|
|
|
|
this.splitContainer1.Panel2.Controls.Add(this.navigatorLeft);
|
|
|
|
|
|
this.splitContainer1.Panel2.Controls.Add(this.pnlProperty);
|
|
|
|
|
|
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
|
|
|
|
|
|
this.splitContainer1.Size = new System.Drawing.Size(1182, 514);
|
|
|
|
|
|
this.splitContainer1.SplitterDistance = 180;
|
|
|
|
|
|
this.splitContainer1.TabIndex = 0;
|
|
|
|
|
|
//
|
|
|
|
|
|
// treeSymbol
|
|
|
|
|
|
//
|
|
|
|
|
|
this.treeSymbol.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
this.treeSymbol.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
this.treeSymbol.Name = "treeSymbol";
|
|
|
|
|
|
this.treeSymbol.Size = new System.Drawing.Size(180, 514);
|
|
|
|
|
|
this.treeSymbol.TabIndex = 0;
|
|
|
|
|
|
this.treeSymbol.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeSymbol_NodeMouseClick);
|
|
|
|
|
|
//
|
|
|
|
|
|
// navigatorLeft
|
|
|
|
|
|
//
|
|
|
|
|
|
this.navigatorLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
|
this.navigatorLeft.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
|
|
|
|
this.navigatorLeft.Button.ButtonDisplayLogic = ComponentFactory.Krypton.Navigator.ButtonDisplayLogic.None;
|
|
|
|
|
|
this.navigatorLeft.Button.ButtonSpecs.AddRange(new ComponentFactory.Krypton.Navigator.ButtonSpecNavigator[] {
|
|
|
|
|
|
this.buttonSpecHeaderGroup1});
|
|
|
|
|
|
this.navigatorLeft.Button.CloseButtonDisplay = ComponentFactory.Krypton.Navigator.ButtonDisplay.Hide;
|
|
|
|
|
|
this.navigatorLeft.Header.HeaderValuesPrimary.MapHeading = ComponentFactory.Krypton.Navigator.MapKryptonPageText.Text;
|
|
|
|
|
|
this.navigatorLeft.Location = new System.Drawing.Point(754, 2);
|
|
|
|
|
|
this.navigatorLeft.Name = "navigatorLeft";
|
|
|
|
|
|
this.navigatorLeft.NavigatorMode = ComponentFactory.Krypton.Navigator.NavigatorMode.HeaderGroup;
|
|
|
|
|
|
this.navigatorLeft.Pages.AddRange(new ComponentFactory.Krypton.Navigator.KryptonPage[] {
|
|
|
|
|
|
this.kryptonPage2});
|
|
|
|
|
|
this.navigatorLeft.PopupPages.AllowPopupPages = ComponentFactory.Krypton.Navigator.PopupPageAllow.OnlyCompatibleModes;
|
|
|
|
|
|
this.navigatorLeft.PopupPages.Element = ComponentFactory.Krypton.Navigator.PopupPageElement.Navigator;
|
|
|
|
|
|
this.navigatorLeft.PopupPages.Position = ComponentFactory.Krypton.Navigator.PopupPagePosition.FarMatch;
|
|
|
|
|
|
this.navigatorLeft.SelectedIndex = 0;
|
|
|
|
|
|
this.navigatorLeft.Size = new System.Drawing.Size(241, 242);
|
|
|
|
|
|
this.navigatorLeft.StateCommon.HeaderGroup.HeaderPrimary.Back.Color1 = System.Drawing.Color.White;
|
|
|
|
|
|
this.navigatorLeft.StateCommon.HeaderGroup.HeaderPrimary.Back.Color2 = System.Drawing.Color.WhiteSmoke;
|
|
|
|
|
|
this.navigatorLeft.StateCommon.HeaderGroup.HeaderPrimary.Content.ShortText.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
|
|
|
|
|
this.navigatorLeft.StateCommon.HeaderGroup.HeaderPrimary.Content.ShortText.Color2 = System.Drawing.Color.Black;
|
|
|
|
|
|
this.navigatorLeft.StateCommon.HeaderGroup.HeaderPrimary.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 10F);
|
|
|
|
|
|
this.navigatorLeft.StateCommon.HeaderGroup.HeaderPrimary.Content.ShortText.TextV = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Far;
|
|
|
|
|
|
this.navigatorLeft.TabIndex = 9;
|
|
|
|
|
|
this.navigatorLeft.Text = "kryptonNavigator1";
|
|
|
|
|
|
//
|
|
|
|
|
|
// buttonSpecHeaderGroup1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.buttonSpecHeaderGroup1.Type = ComponentFactory.Krypton.Toolkit.PaletteButtonSpecStyle.ArrowLeft;
|
|
|
|
|
|
this.buttonSpecHeaderGroup1.TypeRestricted = ComponentFactory.Krypton.Navigator.PaletteNavButtonSpecStyle.ArrowLeft;
|
|
|
|
|
|
this.buttonSpecHeaderGroup1.UniqueName = "8275A4562D8C4FAFAE859E719267701C";
|
|
|
|
|
|
//
|
|
|
|
|
|
// kryptonPage2
|
|
|
|
|
|
//
|
|
|
|
|
|
this.kryptonPage2.AutoHiddenSlideSize = new System.Drawing.Size(200, 200);
|
|
|
|
|
|
this.kryptonPage2.Controls.Add(this.layerTree);
|
|
|
|
|
|
this.kryptonPage2.Flags = 65534;
|
|
|
|
|
|
this.kryptonPage2.LastVisibleSet = true;
|
|
|
|
|
|
this.kryptonPage2.MinimumSize = new System.Drawing.Size(200, 50);
|
|
|
|
|
|
this.kryptonPage2.Name = "kryptonPage2";
|
|
|
|
|
|
this.kryptonPage2.Size = new System.Drawing.Size(239, 193);
|
|
|
|
|
|
this.kryptonPage2.Text = "图层";
|
|
|
|
|
|
this.kryptonPage2.TextDescription = "图层的查看和管理";
|
|
|
|
|
|
this.kryptonPage2.ToolTipTitle = "图层";
|
|
|
|
|
|
this.kryptonPage2.UniqueName = "2709DB6E387F4637A498DA3AC94F77E8";
|
|
|
|
|
|
//
|
|
|
|
|
|
// layerTree
|
|
|
|
|
|
//
|
|
|
|
|
|
this.layerTree.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
|
this.layerTree.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
|
|
|
|
this.layerTree.CurrentNode = null;
|
|
|
|
|
|
this.layerTree.DrawViewer = null;
|
|
|
|
|
|
this.layerTree.ID = 1939458201;
|
|
|
|
|
|
this.layerTree.LayerActiveEvent = null;
|
|
|
|
|
|
this.layerTree.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
this.layerTree.Name = "layerTree";
|
|
|
|
|
|
this.layerTree.Size = new System.Drawing.Size(239, 193);
|
|
|
|
|
|
//this.layerTree.SymbolFlag = false;
|
|
|
|
|
|
this.layerTree.TabIndex = 3;
|
|
|
|
|
|
//
|
|
|
|
|
|
// pnlProperty
|
|
|
|
|
|
//
|
|
|
|
|
|
this.pnlProperty.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
|
this.pnlProperty.ElementProperty = null;
|
|
|
|
|
|
this.pnlProperty.LayerName = null;
|
|
|
|
|
|
this.pnlProperty.Location = new System.Drawing.Point(754, 244);
|
|
|
|
|
|
this.pnlProperty.Margin = new System.Windows.Forms.Padding(4);
|
|
|
|
|
|
this.pnlProperty.Name = "pnlProperty";
|
|
|
|
|
|
this.pnlProperty.Size = new System.Drawing.Size(241, 270);
|
|
|
|
|
|
this.pnlProperty.TabIndex = 2;
|
|
|
|
|
|
this.pnlProperty.Viewer = null;
|
|
|
|
|
|
//
|
|
|
|
|
|
// splitContainer2
|
|
|
|
|
|
//
|
|
|
|
|
|
this.splitContainer2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
|
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
this.splitContainer2.Name = "splitContainer2";
|
|
|
|
|
|
//
|
|
|
|
|
|
// splitContainer2.Panel1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.splitContainer2.Panel1.Controls.Add(this.lvSymbol);
|
|
|
|
|
|
//
|
|
|
|
|
|
// splitContainer2.Panel2
|
|
|
|
|
|
//
|
|
|
|
|
|
this.splitContainer2.Panel2.Controls.Add(this.viewer);
|
|
|
|
|
|
this.splitContainer2.Size = new System.Drawing.Size(749, 514);
|
|
|
|
|
|
this.splitContainer2.SplitterDistance = 182;
|
|
|
|
|
|
this.splitContainer2.TabIndex = 1;
|
|
|
|
|
|
//
|
|
|
|
|
|
// lvSymbol
|
|
|
|
|
|
//
|
|
|
|
|
|
this.lvSymbol.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
this.lvSymbol.HideSelection = false;
|
|
|
|
|
|
this.lvSymbol.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
this.lvSymbol.Name = "lvSymbol";
|
|
|
|
|
|
this.lvSymbol.Size = new System.Drawing.Size(182, 514);
|
|
|
|
|
|
this.lvSymbol.SmallImageList = this.imgFileTree;
|
|
|
|
|
|
this.lvSymbol.TabIndex = 0;
|
|
|
|
|
|
this.lvSymbol.UseCompatibleStateImageBehavior = false;
|
|
|
|
|
|
this.lvSymbol.View = System.Windows.Forms.View.Details;
|
|
|
|
|
|
this.lvSymbol.AfterLabelEdit += new System.Windows.Forms.LabelEditEventHandler(this.lvSymbol_AfterLabelEdit);
|
|
|
|
|
|
this.lvSymbol.SelectedIndexChanged += new System.EventHandler(this.lvSymbol_SelectedIndexChanged);
|
|
|
|
|
|
this.lvSymbol.MouseClick += new System.Windows.Forms.MouseEventHandler(this.lvSymbol_MouseClick);
|
|
|
|
|
|
//
|
|
|
|
|
|
// imgFileTree
|
|
|
|
|
|
//
|
|
|
|
|
|
this.imgFileTree.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgFileTree.ImageStream")));
|
|
|
|
|
|
this.imgFileTree.TransparentColor = System.Drawing.Color.Transparent;
|
|
|
|
|
|
this.imgFileTree.Images.SetKeyName(0, "folder");
|
|
|
|
|
|
this.imgFileTree.Images.SetKeyName(1, "item");
|
|
|
|
|
|
//
|
|
|
|
|
|
// viewer
|
|
|
|
|
|
//
|
|
|
|
|
|
this.viewer.ActiveTool = UCDraw.DrawToolType.Default;
|
|
|
|
|
|
this.viewer.BackColor = System.Drawing.Color.White;
|
|
|
|
|
|
this.viewer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
|
|
|
this.viewer.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
this.viewer.EnableMeshPack = true;
|
|
|
|
|
|
this.viewer.Geo = null;
|
|
|
|
|
|
this.viewer.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
this.viewer.Margin = new System.Windows.Forms.Padding(4);
|
|
|
|
|
|
this.viewer.Name = "viewer";
|
|
|
|
|
|
this.viewer.SelectedElementPosition = ((long)(0));
|
|
|
|
|
|
this.viewer.Size = new System.Drawing.Size(563, 514);
|
|
|
|
|
|
this.viewer.TabIndex = 8;
|
|
|
|
|
|
//
|
|
|
|
|
|
// panel1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.panel1.Controls.Add(this.lbSymbolNodePath);
|
|
|
|
|
|
this.panel1.Controls.Add(this.btnCancel);
|
|
|
|
|
|
this.panel1.Controls.Add(this.btnOk);
|
|
|
|
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
|
|
|
this.panel1.Location = new System.Drawing.Point(0, 541);
|
|
|
|
|
|
this.panel1.Name = "panel1";
|
|
|
|
|
|
this.panel1.Size = new System.Drawing.Size(1182, 38);
|
|
|
|
|
|
this.panel1.TabIndex = 2;
|
|
|
|
|
|
//
|
|
|
|
|
|
// lbSymbolNodePath
|
|
|
|
|
|
//
|
|
|
|
|
|
this.lbSymbolNodePath.AutoSize = true;
|
|
|
|
|
|
this.lbSymbolNodePath.Location = new System.Drawing.Point(25, 16);
|
|
|
|
|
|
this.lbSymbolNodePath.Name = "lbSymbolNodePath";
|
|
|
|
|
|
this.lbSymbolNodePath.Size = new System.Drawing.Size(23, 12);
|
|
|
|
|
|
this.lbSymbolNodePath.TabIndex = 1;
|
|
|
|
|
|
this.lbSymbolNodePath.Text = "txt";
|
|
|
|
|
|
//
|
|
|
|
|
|
// btnCancel
|
|
|
|
|
|
//
|
|
|
|
|
|
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
|
this.btnCancel.Location = new System.Drawing.Point(1085, 6);
|
|
|
|
|
|
this.btnCancel.Name = "btnCancel";
|
|
|
|
|
|
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
|
this.btnCancel.TabIndex = 0;
|
|
|
|
|
|
this.btnCancel.Text = "取消";
|
|
|
|
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|
|
|
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// btnOk
|
|
|
|
|
|
//
|
|
|
|
|
|
this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
|
this.btnOk.Location = new System.Drawing.Point(999, 6);
|
|
|
|
|
|
this.btnOk.Name = "btnOk";
|
|
|
|
|
|
this.btnOk.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
|
this.btnOk.TabIndex = 0;
|
|
|
|
|
|
this.btnOk.Text = "确定";
|
|
|
|
|
|
this.btnOk.UseVisualStyleBackColor = true;
|
|
|
|
|
|
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// toolStripContainer1
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
// toolStripContainer1.ContentPanel
|
|
|
|
|
|
//
|
|
|
|
|
|
this.toolStripContainer1.ContentPanel.Controls.Add(this.splitContainer1);
|
|
|
|
|
|
this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(1182, 514);
|
|
|
|
|
|
this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
this.toolStripContainer1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
this.toolStripContainer1.Name = "toolStripContainer1";
|
|
|
|
|
|
this.toolStripContainer1.Size = new System.Drawing.Size(1182, 541);
|
|
|
|
|
|
this.toolStripContainer1.TabIndex = 1;
|
|
|
|
|
|
this.toolStripContainer1.Text = "toolStripContainer1";
|
|
|
|
|
|
//
|
|
|
|
|
|
// toolStripContainer1.TopToolStripPanel
|
|
|
|
|
|
//
|
|
|
|
|
|
this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.tsTool);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsTool
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tsTool.Dock = System.Windows.Forms.DockStyle.None;
|
|
|
|
|
|
this.tsTool.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
|
|
|
|
|
|
this.tsTool.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
|
this.toolStripLabel1,
|
|
|
|
|
|
this.tstbSearch,
|
|
|
|
|
|
this.tsbtnSearch,
|
|
|
|
|
|
this.tsbNew,
|
|
|
|
|
|
this.tsbSave,
|
|
|
|
|
|
this.tsbDelete,
|
|
|
|
|
|
this.btnZoomIn,
|
|
|
|
|
|
this.btnZoomOut,
|
|
|
|
|
|
this.tsbPan,
|
|
|
|
|
|
this.tsbViewWindow,
|
|
|
|
|
|
this.tsbViewAll,
|
|
|
|
|
|
this.tsbRedraw,
|
|
|
|
|
|
this.toolStripSeparator13,
|
|
|
|
|
|
this.undoButton,
|
|
|
|
|
|
this.redoButton,
|
|
|
|
|
|
this.toolStripSeparator2,
|
|
|
|
|
|
this.tsbToolDefault,
|
|
|
|
|
|
this.tsbSelect,
|
|
|
|
|
|
this.toolStripSeparator3,
|
|
|
|
|
|
this.tsbCurveAdd,
|
|
|
|
|
|
this.drawRectangleButton,
|
|
|
|
|
|
this.tsbCircle,
|
|
|
|
|
|
this.drawEllipseButton,
|
|
|
|
|
|
this.drawTextButton,
|
|
|
|
|
|
this.gridBtn,
|
|
|
|
|
|
this.highLightTipBtn});
|
|
|
|
|
|
this.tsTool.Location = new System.Drawing.Point(3, 0);
|
|
|
|
|
|
this.tsTool.Name = "tsTool";
|
|
|
|
|
|
this.tsTool.Size = new System.Drawing.Size(735, 27);
|
|
|
|
|
|
this.tsTool.TabIndex = 2;
|
|
|
|
|
|
this.tsTool.Text = "toolStrip1";
|
|
|
|
|
|
//
|
|
|
|
|
|
// toolStripLabel1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.toolStripLabel1.Name = "toolStripLabel1";
|
|
|
|
|
|
this.toolStripLabel1.Size = new System.Drawing.Size(59, 24);
|
|
|
|
|
|
this.toolStripLabel1.Text = "搜索符号:";
|
|
|
|
|
|
//
|
|
|
|
|
|
// tstbSearch
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tstbSearch.Name = "tstbSearch";
|
|
|
|
|
|
this.tstbSearch.Size = new System.Drawing.Size(100, 27);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbtnSearch
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tsbtnSearch.Image = ((System.Drawing.Image)(resources.GetObject("tsbtnSearch.Image")));
|
|
|
|
|
|
this.tsbtnSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
this.tsbtnSearch.Name = "tsbtnSearch";
|
|
|
|
|
|
this.tsbtnSearch.Size = new System.Drawing.Size(52, 24);
|
|
|
|
|
|
this.tsbtnSearch.Text = "搜索";
|
|
|
|
|
|
this.tsbtnSearch.Click += new System.EventHandler(this.tsbtnSearch_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbNew
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tsbNew.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.tsbNew.Image = ((System.Drawing.Image)(resources.GetObject("tsbNew.Image")));
|
|
|
|
|
|
this.tsbNew.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
this.tsbNew.Name = "tsbNew";
|
|
|
|
|
|
this.tsbNew.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.tsbNew.Text = "创建";
|
|
|
|
|
|
this.tsbNew.Click += new System.EventHandler(this.tsbNew_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbSave
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tsbSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.tsbSave.Image = ((System.Drawing.Image)(resources.GetObject("tsbSave.Image")));
|
|
|
|
|
|
this.tsbSave.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
this.tsbSave.Name = "tsbSave";
|
|
|
|
|
|
this.tsbSave.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.tsbSave.Text = "保存";
|
|
|
|
|
|
this.tsbSave.Click += new System.EventHandler(this.tsbSave_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbDelete
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tsbDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.tsbDelete.Image = ((System.Drawing.Image)(resources.GetObject("tsbDelete.Image")));
|
|
|
|
|
|
this.tsbDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
this.tsbDelete.Name = "tsbDelete";
|
|
|
|
|
|
this.tsbDelete.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.tsbDelete.Text = "删除";
|
|
|
|
|
|
this.tsbDelete.Click += new System.EventHandler(this.tsbDelete_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// btnZoomIn
|
|
|
|
|
|
//
|
|
|
|
|
|
this.btnZoomIn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.btnZoomIn.Image = ((System.Drawing.Image)(resources.GetObject("btnZoomIn.Image")));
|
|
|
|
|
|
this.btnZoomIn.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
this.btnZoomIn.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
this.btnZoomIn.Name = "btnZoomIn";
|
|
|
|
|
|
this.btnZoomIn.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.btnZoomIn.Text = "放大";
|
|
|
|
|
|
this.btnZoomIn.Click += new System.EventHandler(this.btnZoomIn_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// btnZoomOut
|
|
|
|
|
|
//
|
|
|
|
|
|
this.btnZoomOut.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.btnZoomOut.Image = ((System.Drawing.Image)(resources.GetObject("btnZoomOut.Image")));
|
|
|
|
|
|
this.btnZoomOut.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
this.btnZoomOut.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
this.btnZoomOut.Name = "btnZoomOut";
|
|
|
|
|
|
this.btnZoomOut.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.btnZoomOut.Text = "缩小";
|
|
|
|
|
|
this.btnZoomOut.Click += new System.EventHandler(this.btnZoomOut_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbPan
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tsbPan.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.tsbPan.Image = ((System.Drawing.Image)(resources.GetObject("tsbPan.Image")));
|
|
|
|
|
|
this.tsbPan.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
this.tsbPan.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
this.tsbPan.Name = "tsbPan";
|
|
|
|
|
|
this.tsbPan.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.tsbPan.Text = "平移";
|
|
|
|
|
|
this.tsbPan.Click += new System.EventHandler(this.tsbPan_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbViewWindow
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tsbViewWindow.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.tsbViewWindow.Image = ((System.Drawing.Image)(resources.GetObject("tsbViewWindow.Image")));
|
|
|
|
|
|
this.tsbViewWindow.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
this.tsbViewWindow.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
this.tsbViewWindow.Name = "tsbViewWindow";
|
|
|
|
|
|
this.tsbViewWindow.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.tsbViewWindow.Text = "窗口放大";
|
|
|
|
|
|
this.tsbViewWindow.Click += new System.EventHandler(this.tsbViewWindow_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbViewAll
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tsbViewAll.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.tsbViewAll.Image = ((System.Drawing.Image)(resources.GetObject("tsbViewAll.Image")));
|
|
|
|
|
|
this.tsbViewAll.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
this.tsbViewAll.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
this.tsbViewAll.Name = "tsbViewAll";
|
|
|
|
|
|
this.tsbViewAll.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.tsbViewAll.Text = "全图";
|
|
|
|
|
|
this.tsbViewAll.Click += new System.EventHandler(this.tsbViewAll_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbRedraw
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tsbRedraw.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.tsbRedraw.Image = ((System.Drawing.Image)(resources.GetObject("tsbRedraw.Image")));
|
|
|
|
|
|
this.tsbRedraw.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
this.tsbRedraw.ImageTransparentColor = System.Drawing.Color.FromArgb(((int)(((byte)(178)))), ((int)(((byte)(213)))), ((int)(((byte)(255)))));
|
|
|
|
|
|
this.tsbRedraw.Name = "tsbRedraw";
|
|
|
|
|
|
this.tsbRedraw.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.tsbRedraw.Text = "toolStripButton1";
|
|
|
|
|
|
//
|
|
|
|
|
|
// toolStripSeparator13
|
|
|
|
|
|
//
|
|
|
|
|
|
this.toolStripSeparator13.Name = "toolStripSeparator13";
|
|
|
|
|
|
this.toolStripSeparator13.Size = new System.Drawing.Size(6, 27);
|
|
|
|
|
|
//
|
|
|
|
|
|
// undoButton
|
|
|
|
|
|
//
|
|
|
|
|
|
this.undoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.undoButton.Image = ((System.Drawing.Image)(resources.GetObject("undoButton.Image")));
|
|
|
|
|
|
this.undoButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
this.undoButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
this.undoButton.Name = "undoButton";
|
|
|
|
|
|
this.undoButton.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.undoButton.Text = "撤销";
|
|
|
|
|
|
this.undoButton.Click += new System.EventHandler(this.undoButton_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// redoButton
|
|
|
|
|
|
//
|
|
|
|
|
|
this.redoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.redoButton.Image = ((System.Drawing.Image)(resources.GetObject("redoButton.Image")));
|
|
|
|
|
|
this.redoButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
this.redoButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
this.redoButton.Name = "redoButton";
|
|
|
|
|
|
this.redoButton.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.redoButton.Text = "重做";
|
|
|
|
|
|
this.redoButton.Click += new System.EventHandler(this.redoButton_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// toolStripSeparator2
|
|
|
|
|
|
//
|
|
|
|
|
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
|
|
|
|
|
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 27);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbToolDefault
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tsbToolDefault.CheckOnClick = true;
|
|
|
|
|
|
this.tsbToolDefault.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.tsbToolDefault.Image = ((System.Drawing.Image)(resources.GetObject("tsbToolDefault.Image")));
|
|
|
|
|
|
this.tsbToolDefault.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
this.tsbToolDefault.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
this.tsbToolDefault.Name = "tsbToolDefault";
|
|
|
|
|
|
this.tsbToolDefault.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.tsbToolDefault.Text = "指针";
|
|
|
|
|
|
this.tsbToolDefault.Click += new System.EventHandler(this.tsbToolDefault_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbSelect
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tsbSelect.CheckOnClick = true;
|
|
|
|
|
|
this.tsbSelect.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.tsbSelect.Image = ((System.Drawing.Image)(resources.GetObject("tsbSelect.Image")));
|
|
|
|
|
|
this.tsbSelect.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
this.tsbSelect.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
this.tsbSelect.Name = "tsbSelect";
|
|
|
|
|
|
this.tsbSelect.Size = new System.Drawing.Size(24, 24);
|
|
|
|
|
|
this.tsbSelect.Text = "选择";
|
|
|
|
|
|
this.tsbSelect.Click += new System.EventHandler(this.tsbSelect_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// toolStripSeparator3
|
|
|
|
|
|
//
|
|
|
|
|
|
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
|
|
|
|
|
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 27);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbCurveAdd
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tsbCurveAdd.CheckOnClick = true;
|
|
|
|
|
|
this.tsbCurveAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.tsbCurveAdd.Image = ((System.Drawing.Image)(resources.GetObject("tsbCurveAdd.Image")));
|
|
|
|
|
|
this.tsbCurveAdd.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
this.tsbCurveAdd.ImageTransparentColor = System.Drawing.Color.Silver;
|
|
|
|
|
|
this.tsbCurveAdd.Name = "tsbCurveAdd";
|
|
|
|
|
|
this.tsbCurveAdd.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.tsbCurveAdd.Text = "toolStripButton1";
|
|
|
|
|
|
this.tsbCurveAdd.ToolTipText = "绘制线";
|
|
|
|
|
|
this.tsbCurveAdd.Click += new System.EventHandler(this.tsbCurveAdd_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// drawRectangleButton
|
|
|
|
|
|
//
|
|
|
|
|
|
this.drawRectangleButton.CheckOnClick = true;
|
|
|
|
|
|
this.drawRectangleButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.drawRectangleButton.Image = ((System.Drawing.Image)(resources.GetObject("drawRectangleButton.Image")));
|
|
|
|
|
|
this.drawRectangleButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
this.drawRectangleButton.ImageTransparentColor = System.Drawing.Color.Silver;
|
|
|
|
|
|
this.drawRectangleButton.Name = "drawRectangleButton";
|
|
|
|
|
|
this.drawRectangleButton.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never;
|
|
|
|
|
|
this.drawRectangleButton.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.drawRectangleButton.Text = "绘制矩形";
|
|
|
|
|
|
this.drawRectangleButton.Click += new System.EventHandler(this.drawRectangleButton_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsbCircle
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tsbCircle.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.tsbCircle.Image = ((System.Drawing.Image)(resources.GetObject("tsbCircle.Image")));
|
|
|
|
|
|
this.tsbCircle.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
|
this.tsbCircle.Name = "tsbCircle";
|
|
|
|
|
|
this.tsbCircle.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.tsbCircle.Text = "绘制圆(半径为0.5)";
|
|
|
|
|
|
this.tsbCircle.Click += new System.EventHandler(this.tsbCircle_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// drawEllipseButton
|
|
|
|
|
|
//
|
|
|
|
|
|
this.drawEllipseButton.CheckOnClick = true;
|
|
|
|
|
|
this.drawEllipseButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.drawEllipseButton.Image = ((System.Drawing.Image)(resources.GetObject("drawEllipseButton.Image")));
|
|
|
|
|
|
this.drawEllipseButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
this.drawEllipseButton.ImageTransparentColor = System.Drawing.Color.Silver;
|
|
|
|
|
|
this.drawEllipseButton.Name = "drawEllipseButton";
|
|
|
|
|
|
this.drawEllipseButton.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.drawEllipseButton.Text = "绘制椭圆";
|
|
|
|
|
|
this.drawEllipseButton.Click += new System.EventHandler(this.drawEllipseButton_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// drawTextButton
|
|
|
|
|
|
//
|
|
|
|
|
|
this.drawTextButton.CheckOnClick = true;
|
|
|
|
|
|
this.drawTextButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.drawTextButton.Image = ((System.Drawing.Image)(resources.GetObject("drawTextButton.Image")));
|
|
|
|
|
|
this.drawTextButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
|
|
|
|
this.drawTextButton.ImageTransparentColor = System.Drawing.Color.Silver;
|
|
|
|
|
|
this.drawTextButton.Name = "drawTextButton";
|
|
|
|
|
|
this.drawTextButton.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.drawTextButton.Text = "插入文字";
|
|
|
|
|
|
this.drawTextButton.Click += new System.EventHandler(this.drawTextButton_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// gridBtn
|
|
|
|
|
|
//
|
|
|
|
|
|
this.gridBtn.BackColor = System.Drawing.SystemColors.Control;
|
|
|
|
|
|
this.gridBtn.CheckOnClick = true;
|
|
|
|
|
|
this.gridBtn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.gridBtn.Image = ((System.Drawing.Image)(resources.GetObject("gridBtn.Image")));
|
|
|
|
|
|
this.gridBtn.ImageTransparentColor = System.Drawing.Color.White;
|
|
|
|
|
|
this.gridBtn.Name = "gridBtn";
|
|
|
|
|
|
this.gridBtn.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.gridBtn.Text = "显示关闭网格";
|
|
|
|
|
|
this.gridBtn.Click += new System.EventHandler(this.gridBtn_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// highLightTipBtn
|
|
|
|
|
|
//
|
|
|
|
|
|
this.highLightTipBtn.CheckOnClick = true;
|
|
|
|
|
|
this.highLightTipBtn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
|
this.highLightTipBtn.Image = ((System.Drawing.Image)(resources.GetObject("highLightTipBtn.Image")));
|
|
|
|
|
|
this.highLightTipBtn.ImageTransparentColor = System.Drawing.Color.Silver;
|
|
|
|
|
|
this.highLightTipBtn.Name = "highLightTipBtn";
|
|
|
|
|
|
this.highLightTipBtn.Size = new System.Drawing.Size(23, 24);
|
|
|
|
|
|
this.highLightTipBtn.Text = "toolStripButton1";
|
|
|
|
|
|
this.highLightTipBtn.Click += new System.EventHandler(this.highLightTipBtn_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// cmsSymbolMenu
|
|
|
|
|
|
//
|
|
|
|
|
|
this.cmsSymbolMenu.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
|
|
|
|
|
|
this.cmsSymbolMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
|
this.tsmiRename,
|
|
|
|
|
|
this.tsmiCopy});
|
|
|
|
|
|
this.cmsSymbolMenu.Name = "cmsSymbolMenu";
|
|
|
|
|
|
this.cmsSymbolMenu.Size = new System.Drawing.Size(113, 48);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsmiRename
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tsmiRename.Name = "tsmiRename";
|
|
|
|
|
|
this.tsmiRename.Size = new System.Drawing.Size(112, 22);
|
|
|
|
|
|
this.tsmiRename.Text = "重命名";
|
|
|
|
|
|
this.tsmiRename.Click += new System.EventHandler(this.tsmiRename_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// tsmiCopy
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tsmiCopy.Name = "tsmiCopy";
|
|
|
|
|
|
this.tsmiCopy.Size = new System.Drawing.Size(112, 22);
|
|
|
|
|
|
this.tsmiCopy.Text = "复制";
|
|
|
|
|
|
this.tsmiCopy.Click += new System.EventHandler(this.tsmiCopy_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// imgSymbol
|
|
|
|
|
|
//
|
|
|
|
|
|
this.imgSymbol.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgSymbol.ImageStream")));
|
|
|
|
|
|
this.imgSymbol.TransparentColor = System.Drawing.Color.Transparent;
|
|
|
|
|
|
this.imgSymbol.Images.SetKeyName(0, "Open_16x16.png");
|
|
|
|
|
|
this.imgSymbol.Images.SetKeyName(1, "New_16x16.png");
|
|
|
|
|
|
//
|
|
|
|
|
|
// frmMarkEditor
|
|
|
|
|
|
//
|
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(1182, 579);
|
|
|
|
|
|
this.Controls.Add(this.toolStripContainer1);
|
|
|
|
|
|
this.Controls.Add(this.panel1);
|
|
|
|
|
|
this.Name = "frmMarkEditor";
|
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
|
|
|
this.Text = "符号选择";
|
|
|
|
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
|
|
|
|
|
this.Load += new System.EventHandler(this.frmMarkEditor_Load);
|
|
|
|
|
|
this.splitContainer1.Panel1.ResumeLayout(false);
|
|
|
|
|
|
this.splitContainer1.Panel2.ResumeLayout(false);
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
|
|
|
|
|
this.splitContainer1.ResumeLayout(false);
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.navigatorLeft)).EndInit();
|
|
|
|
|
|
this.navigatorLeft.ResumeLayout(false);
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.kryptonPage2)).EndInit();
|
|
|
|
|
|
this.kryptonPage2.ResumeLayout(false);
|
|
|
|
|
|
this.splitContainer2.Panel1.ResumeLayout(false);
|
|
|
|
|
|
this.splitContainer2.Panel2.ResumeLayout(false);
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
|
|
|
|
|
|
this.splitContainer2.ResumeLayout(false);
|
|
|
|
|
|
this.panel1.ResumeLayout(false);
|
|
|
|
|
|
this.panel1.PerformLayout();
|
|
|
|
|
|
this.toolStripContainer1.ContentPanel.ResumeLayout(false);
|
|
|
|
|
|
this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false);
|
|
|
|
|
|
this.toolStripContainer1.TopToolStripPanel.PerformLayout();
|
|
|
|
|
|
this.toolStripContainer1.ResumeLayout(false);
|
|
|
|
|
|
this.toolStripContainer1.PerformLayout();
|
|
|
|
|
|
this.tsTool.ResumeLayout(false);
|
|
|
|
|
|
this.tsTool.PerformLayout();
|
|
|
|
|
|
this.cmsSymbolMenu.ResumeLayout(false);
|
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.SplitContainer splitContainer1;
|
|
|
|
|
|
private System.Windows.Forms.ImageList imgFileTree;
|
|
|
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
|
|
|
|
private System.Windows.Forms.Button btnCancel;
|
|
|
|
|
|
private System.Windows.Forms.Button btnOk;
|
|
|
|
|
|
private System.Windows.Forms.SplitContainer splitContainer2;
|
|
|
|
|
|
private PanelProperty pnlProperty;
|
|
|
|
|
|
private LayerTree layerTree;
|
|
|
|
|
|
private ComponentFactory.Krypton.Navigator.KryptonNavigator navigatorLeft;
|
|
|
|
|
|
private ComponentFactory.Krypton.Navigator.ButtonSpecNavigator buttonSpecHeaderGroup1;
|
|
|
|
|
|
private ComponentFactory.Krypton.Navigator.KryptonPage kryptonPage2;
|
|
|
|
|
|
private DrawViewer viewer;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripContainer toolStripContainer1;
|
|
|
|
|
|
private System.Windows.Forms.ToolStrip tsTool;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripTextBox tstbSearch;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbtnSearch;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbNew;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbSave;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbDelete;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton btnZoomIn;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton btnZoomOut;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbPan;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbViewWindow;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbViewAll;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbRedraw;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator13;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton undoButton;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton redoButton;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbToolDefault;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbSelect;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbCurveAdd;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton drawRectangleButton;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbCircle;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton drawEllipseButton;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton drawTextButton;
|
|
|
|
|
|
private System.Windows.Forms.ContextMenuStrip cmsSymbolMenu;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem tsmiRename;
|
|
|
|
|
|
private System.Windows.Forms.ListView lvSymbol;
|
|
|
|
|
|
private System.Windows.Forms.ImageList imgSymbol;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem tsmiCopy;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton gridBtn;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripButton highLightTipBtn;
|
|
|
|
|
|
private System.Windows.Forms.TreeView treeSymbol;
|
|
|
|
|
|
private System.Windows.Forms.Label lbSymbolNodePath;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|