예제 #1
0
 /// <summary> 
 /// �����֧������ķ��� - ��Ҫʹ�ô���༭�� 
 /// �޸Ĵ˷��������ݡ�
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MapControl));
     this.tlVectorControl1 = new ItopVector.ItopVectorControl();
     this.SuspendLayout();
     //
     // tlVectorControl1
     //
     this.tlVectorControl1.CanEdit = false;
     this.tlVectorControl1.DocumentbgColor = System.Drawing.Color.Empty;
     this.tlVectorControl1.DocumentSize = ((System.Drawing.SizeF)(resources.GetObject("tlVectorControl1.DocumentSize")));
     this.tlVectorControl1.FullDrawMode = false;
     this.tlVectorControl1.IsModified = false;
     this.tlVectorControl1.IsPasteGrid = false;
     this.tlVectorControl1.IsShowGrid = true;
     this.tlVectorControl1.IsShowRule = true;
     this.tlVectorControl1.IsShowTip = false;
     this.tlVectorControl1.Location = new System.Drawing.Point(0, 0);
     this.tlVectorControl1.Name = "tlVectorControl1";
     this.tlVectorControl1.ScaleRatio = 1F;
     this.tlVectorControl1.Scrollable = false;
     this.tlVectorControl1.Size = new System.Drawing.Size(672, 496);
     this.tlVectorControl1.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
     this.tlVectorControl1.TabIndex = 0;
     //
     // MapControl
     //
     this.Controls.Add(this.tlVectorControl1);
     this.Name = "MapControl";
     this.Size = new System.Drawing.Size(480, 368);
     this.ResumeLayout(false);
 }
예제 #2
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器
 /// 修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MapControl));
     this.tlVectorControl1 = new ItopVector.ItopVectorControl();
     this.SuspendLayout();
     //
     // tlVectorControl1
     //
     this.tlVectorControl1.CanEdit         = false;
     this.tlVectorControl1.DocumentbgColor = System.Drawing.Color.Empty;
     this.tlVectorControl1.DocumentSize    = ((System.Drawing.SizeF)(resources.GetObject("tlVectorControl1.DocumentSize")));
     this.tlVectorControl1.FullDrawMode    = false;
     this.tlVectorControl1.IsModified      = false;
     this.tlVectorControl1.IsPasteGrid     = false;
     this.tlVectorControl1.IsShowGrid      = true;
     this.tlVectorControl1.IsShowRule      = true;
     this.tlVectorControl1.IsShowTip       = false;
     this.tlVectorControl1.Location        = new System.Drawing.Point(0, 0);
     this.tlVectorControl1.Name            = "tlVectorControl1";
     this.tlVectorControl1.ScaleRatio      = 1F;
     this.tlVectorControl1.Scrollable      = false;
     this.tlVectorControl1.Size            = new System.Drawing.Size(672, 496);
     this.tlVectorControl1.SmoothingMode   = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
     this.tlVectorControl1.TabIndex        = 0;
     //
     // MapControl
     //
     this.Controls.Add(this.tlVectorControl1);
     this.Name = "MapControl";
     this.Size = new System.Drawing.Size(480, 368);
     this.ResumeLayout(false);
 }
예제 #3
0
        public frmTest()
        {
            //
            // Windows 窗体设计器支持所必需的
            //
            InitializeComponent();

            this.symbolSelector = new ItopVector.Selector.SymbolSelector(Application.StartupPath + "\\symbol\\symbol.xml");

            this.symbolSelector.Dock        = DockStyle.Fill;
            symbolSelector.SelectedChanged += new EventHandler(symbolSelector_SelectedChanged);

            tlVector      = new ItopVector.ItopVectorControl();
            tlVector.Dock = DockStyle.Fill;
            tlVector.OpenFile("c:\\svgtest.svg");

            this.panel1.Controls.Add(symbolSelector);
            this.panel2.Controls.Add(tlVector);
        }
예제 #4
0
        public frmTest()
        {
            //
            // Windows ���������֧���������
            //
            InitializeComponent();

            this.symbolSelector=new ItopVector.Selector.SymbolSelector(Application.StartupPath+"\\symbol\\symbol.xml");

            this.symbolSelector.Dock = DockStyle.Fill;
            symbolSelector.SelectedChanged+=new EventHandler(symbolSelector_SelectedChanged);

            tlVector =new ItopVector.ItopVectorControl();
            tlVector.Dock = DockStyle.Fill;
            tlVector.OpenFile("c:\\svgtest.svg");

            this.panel1.Controls.Add(symbolSelector);
            this.panel2.Controls.Add(tlVector);
        }
예제 #5
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components             = new System.ComponentModel.Container();
     this.tabItem1               = new DevComponents.DotNetBar.TabItem(this.components);
     this.documentControl1       = new ItopVector.ItopVectorControl();
     this.contextMenuStrip1      = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.合并成像ToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem2     = new System.Windows.Forms.ToolStripSeparator();
     this.更新图像库ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.folderBrowserDialog1   = new System.Windows.Forms.FolderBrowserDialog();
     this.contextMenuStrip2      = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.图片另存ToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.图片更换ToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.重新下载ToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem1     = new System.Windows.Forms.ToolStripSeparator();
     this.批量更换ToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.显示地图ToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.地图ToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.卫星ToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.地形ToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.contextMenuStrip1.SuspendLayout();
     this.contextMenuStrip2.SuspendLayout();
     this.SuspendLayout();
     //
     // tabItem1
     //
     this.tabItem1.Name = "tabItem1";
     this.tabItem1.Text = "tabItem1";
     //
     // documentControl1
     //
     this.documentControl1.CanEdit      = false;
     this.documentControl1.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.documentControl1.FullDrawMode = false;
     this.documentControl1.IsPasteGrid  = false;
     this.documentControl1.IsShowGrid   = true;
     this.documentControl1.IsShowRule   = true;
     this.documentControl1.IsShowTip    = false;
     this.documentControl1.Location     = new System.Drawing.Point(0, 0);
     this.documentControl1.Name         = "documentControl1";
     this.documentControl1.Size         = new System.Drawing.Size(616, 373);
     this.documentControl1.TabIndex     = 0;
     this.documentControl1.MouseMove   += new System.Windows.Forms.MouseEventHandler(this.documentControl1_MouseMove);
     this.documentControl1.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.documentControl1_KeyDown);
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.合并成像ToolStripMenuItem,
         this.toolStripMenuItem2,
         this.更新图像库ToolStripMenuItem
     });
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(135, 54);
     //
     // 合并成像ToolStripMenuItem
     //
     this.合并成像ToolStripMenuItem.Name   = "合并成像ToolStripMenuItem";
     this.合并成像ToolStripMenuItem.Size   = new System.Drawing.Size(134, 22);
     this.合并成像ToolStripMenuItem.Text   = "合并图像";
     this.合并成像ToolStripMenuItem.Click += new System.EventHandler(this.合并成像ToolStripMenuItem_Click);
     //
     // toolStripMenuItem2
     //
     this.toolStripMenuItem2.Name = "toolStripMenuItem2";
     this.toolStripMenuItem2.Size = new System.Drawing.Size(131, 6);
     //
     // 更新图像库ToolStripMenuItem
     //
     this.更新图像库ToolStripMenuItem.Name   = "更新图像库ToolStripMenuItem";
     this.更新图像库ToolStripMenuItem.Size   = new System.Drawing.Size(134, 22);
     this.更新图像库ToolStripMenuItem.Text   = "更新图像库";
     this.更新图像库ToolStripMenuItem.Click += new System.EventHandler(this.更新图像库ToolStripMenuItem_Click);
     //
     // contextMenuStrip2
     //
     this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.图片另存ToolStripMenuItem,
         this.图片更换ToolStripMenuItem,
         this.重新下载ToolStripMenuItem,
         this.toolStripMenuItem1,
         this.批量更换ToolStripMenuItem,
         this.显示地图ToolStripMenuItem
     });
     this.contextMenuStrip2.Name = "contextMenuStrip1";
     this.contextMenuStrip2.Size = new System.Drawing.Size(153, 142);
     //
     // 图片另存ToolStripMenuItem
     //
     this.图片另存ToolStripMenuItem.Name   = "图片另存ToolStripMenuItem";
     this.图片另存ToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
     this.图片另存ToolStripMenuItem.Text   = "图片另存";
     this.图片另存ToolStripMenuItem.Click += new System.EventHandler(this.图片另存ToolStripMenuItem_Click);
     //
     // 图片更换ToolStripMenuItem
     //
     this.图片更换ToolStripMenuItem.Name   = "图片更换ToolStripMenuItem";
     this.图片更换ToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
     this.图片更换ToolStripMenuItem.Text   = "图片更换";
     this.图片更换ToolStripMenuItem.Click += new System.EventHandler(this.图片更换ToolStripMenuItem_Click);
     //
     // 重新下载ToolStripMenuItem
     //
     this.重新下载ToolStripMenuItem.Name   = "重新下载ToolStripMenuItem";
     this.重新下载ToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
     this.重新下载ToolStripMenuItem.Text   = "重新下载";
     this.重新下载ToolStripMenuItem.Click += new System.EventHandler(this.重新下载ToolStripMenuItem_Click);
     //
     // toolStripMenuItem1
     //
     this.toolStripMenuItem1.Name = "toolStripMenuItem1";
     this.toolStripMenuItem1.Size = new System.Drawing.Size(149, 6);
     //
     // 批量更换ToolStripMenuItem
     //
     this.批量更换ToolStripMenuItem.Name    = "批量更换ToolStripMenuItem";
     this.批量更换ToolStripMenuItem.Size    = new System.Drawing.Size(152, 22);
     this.批量更换ToolStripMenuItem.Text    = "批量更换...";
     this.批量更换ToolStripMenuItem.Visible = false;
     //
     // 显示地图ToolStripMenuItem
     //
     this.显示地图ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.地图ToolStripMenuItem,
         this.卫星ToolStripMenuItem,
         this.地形ToolStripMenuItem
     });
     this.显示地图ToolStripMenuItem.Name = "显示地图ToolStripMenuItem";
     this.显示地图ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this.显示地图ToolStripMenuItem.Text = "显示地图";
     //
     // 地图ToolStripMenuItem
     //
     this.地图ToolStripMenuItem.Name   = "地图ToolStripMenuItem";
     this.地图ToolStripMenuItem.Size   = new System.Drawing.Size(98, 22);
     this.地图ToolStripMenuItem.Text   = "地图";
     this.地图ToolStripMenuItem.Click += new System.EventHandler(this.地图ToolStripMenuItem_Click);
     //
     // 卫星ToolStripMenuItem
     //
     this.卫星ToolStripMenuItem.Name   = "卫星ToolStripMenuItem";
     this.卫星ToolStripMenuItem.Size   = new System.Drawing.Size(98, 22);
     this.卫星ToolStripMenuItem.Text   = "卫星";
     this.卫星ToolStripMenuItem.Click += new System.EventHandler(this.卫星ToolStripMenuItem_Click);
     //
     // 地形ToolStripMenuItem
     //
     this.地形ToolStripMenuItem.Name   = "地形ToolStripMenuItem";
     this.地形ToolStripMenuItem.Size   = new System.Drawing.Size(98, 22);
     this.地形ToolStripMenuItem.Text   = "地形";
     this.地形ToolStripMenuItem.Click += new System.EventHandler(this.地形ToolStripMenuItem_Click);
     //
     // frmDocument
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(616, 373);
     this.Controls.Add(this.documentControl1);
     this.Name          = "frmDocument";
     this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
     this.contextMenuStrip1.ResumeLayout(false);
     this.contextMenuStrip2.ResumeLayout(false);
     this.ResumeLayout(false);
 }