Beispiel #1
0
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="axRenderControl">三维控件</param>
        public CalculateTopBase(Gvitech.CityMaker.Controls.AxRenderControl axRenderControl, int mainThreadId, System.Windows.Forms.Form form)
        {
            if (axRenderControl == null)
            {
                throw new ArgumentNullException("控件无效!");
            }

            _AxRenderControl = axRenderControl;
            _SurfaceSymbol.BoundarySymbol = _CurveSymbol;

            rootId = _AxRenderControl.ObjectManager.GetProjectTree().RootID;

            _MainThreadId = mainThreadId;
            _Form         = form;
        }
Beispiel #2
0
 private void InitializeComponent()
 {
     this.AxRenderControl3D = new Gvitech.CityMaker.Controls.AxRenderControl();
     ((System.ComponentModel.ISupportInitialize)(this.AxRenderControl3D)).BeginInit();
     this.SuspendLayout();
     //
     // AxRenderControl3D
     //
     this.AxRenderControl3D.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.AxRenderControl3D.Enabled  = true;
     this.AxRenderControl3D.Location = new System.Drawing.Point(0, 0);
     this.AxRenderControl3D.Name     = "AxRenderControl3D";
     this.AxRenderControl3D.Size     = new System.Drawing.Size(274, 287);
     this.AxRenderControl3D.TabIndex = 0;
     //
     // Map3DView
     //
     this.Controls.Add(this.AxRenderControl3D);
     this.Name = "Map3DView";
     this.Size = new System.Drawing.Size(274, 287);
     ((System.ComponentModel.ISupportInitialize)(this.AxRenderControl3D)).EndInit();
     this.ResumeLayout(false);
 }
Beispiel #3
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCShow3DPipe));
     this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.treeList1         = new DevExpress.XtraTreeList.TreeList();
     this.treeListColumn1   = new DevExpress.XtraTreeList.Columns.TreeListColumn();
     this.treeListColumn2   = new DevExpress.XtraTreeList.Columns.TreeListColumn();
     this.imageCollection1  = new DevExpress.Utils.ImageCollection(this.components);
     this.AxRenderControl3D = new Gvitech.CityMaker.Controls.AxRenderControl();
     this.barManager1       = new DevExpress.XtraBars.BarManager(this.components);
     this.bar2                    = new DevExpress.XtraBars.Bar();
     this.bbiAddTerrain           = new DevExpress.XtraBars.BarButtonItem();
     this.beiTerrainOpac          = new DevExpress.XtraBars.BarEditItem();
     this.repositoryItemTrackBar1 = new DevExpress.XtraEditors.Repository.RepositoryItemTrackBar();
     this.bbiFlyToTerrain         = new DevExpress.XtraBars.BarButtonItem();
     this.bbiWander               = new DevExpress.XtraBars.BarButtonItem();
     this.bbiClickQuery           = new DevExpress.XtraBars.BarButtonItem();
     this.bbiClear                = new DevExpress.XtraBars.BarButtonItem();
     this.bbiHDistance            = new DevExpress.XtraBars.BarButtonItem();
     this.bbiVDistance            = new DevExpress.XtraBars.BarButtonItem();
     this.bbiDistance             = new DevExpress.XtraBars.BarButtonItem();
     this.barDockControlTop       = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom    = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft      = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight     = new DevExpress.XtraBars.BarDockControl();
     this.bbiCoord                = new DevExpress.XtraBars.BarButtonItem();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.treeList1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.imageCollection1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AxRenderControl3D)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTrackBar1)).BeginInit();
     this.SuspendLayout();
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.CollapsePanel = DevExpress.XtraEditors.SplitCollapsePanel.Panel1;
     this.splitContainerControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Location      = new System.Drawing.Point(0, 55);
     this.splitContainerControl1.Name          = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Controls.Add(this.treeList1);
     this.splitContainerControl1.Panel1.Text = "Panel1";
     this.splitContainerControl1.Panel2.Controls.Add(this.AxRenderControl3D);
     this.splitContainerControl1.Panel2.Text      = "Panel2";
     this.splitContainerControl1.Size             = new System.Drawing.Size(560, 392);
     this.splitContainerControl1.SplitterPosition = 193;
     this.splitContainerControl1.TabIndex         = 0;
     this.splitContainerControl1.Text             = "splitContainerControl1";
     //
     // treeList1
     //
     this.treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] {
         this.treeListColumn1,
         this.treeListColumn2
     });
     this.treeList1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.treeList1.Location = new System.Drawing.Point(0, 0);
     this.treeList1.Name     = "treeList1";
     this.treeList1.OptionsBehavior.AllowRecursiveNodeChecking = true;
     this.treeList1.OptionsView.ShowCheckBoxes = true;
     this.treeList1.OptionsView.ShowColumns    = false;
     this.treeList1.OptionsView.ShowIndicator  = false;
     this.treeList1.Size              = new System.Drawing.Size(193, 392);
     this.treeList1.StateImageList    = this.imageCollection1;
     this.treeList1.TabIndex          = 0;
     this.treeList1.AfterCheckNode   += new DevExpress.XtraTreeList.NodeEventHandler(this.treeList1_AfterCheckNode);
     this.treeList1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.treeList1_MouseDoubleClick);
     //
     // treeListColumn1
     //
     this.treeListColumn1.Caption   = "名称";
     this.treeListColumn1.FieldName = "Name";
     this.treeListColumn1.MinWidth  = 49;
     this.treeListColumn1.Name      = "treeListColumn1";
     this.treeListColumn1.OptionsColumn.AllowEdit = false;
     this.treeListColumn1.Visible      = true;
     this.treeListColumn1.VisibleIndex = 0;
     this.treeListColumn1.Width        = 91;
     //
     // treeListColumn2
     //
     this.treeListColumn2.Caption   = "对象";
     this.treeListColumn2.FieldName = "Object";
     this.treeListColumn2.Name      = "treeListColumn2";
     this.treeListColumn2.OptionsColumn.AllowEdit = false;
     //
     // imageCollection1
     //
     this.imageCollection1.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imageCollection1.ImageStream")));
     this.imageCollection1.Images.SetKeyName(0, "Database.png");
     this.imageCollection1.Images.SetKeyName(1, "Dataset.png");
     this.imageCollection1.Images.SetKeyName(2, "FeatureLayer_model.png");
     //
     // AxRenderControl3D
     //
     this.AxRenderControl3D.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.AxRenderControl3D.Enabled  = true;
     this.AxRenderControl3D.Location = new System.Drawing.Point(0, 0);
     this.AxRenderControl3D.Name     = "AxRenderControl3D";
     this.AxRenderControl3D.Size     = new System.Drawing.Size(362, 392);
     this.AxRenderControl3D.TabIndex = 0;
     //
     // barManager1
     //
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
         this.bar2
     });
     this.barManager1.DockControls.Add(this.barDockControlTop);
     this.barManager1.DockControls.Add(this.barDockControlBottom);
     this.barManager1.DockControls.Add(this.barDockControlLeft);
     this.barManager1.DockControls.Add(this.barDockControlRight);
     this.barManager1.Form = this;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
         this.bbiAddTerrain,
         this.bbiWander,
         this.bbiHDistance,
         this.bbiClickQuery,
         this.bbiVDistance,
         this.bbiDistance,
         this.beiTerrainOpac,
         this.bbiFlyToTerrain,
         this.bbiClear,
         this.bbiCoord
     });
     this.barManager1.MainMenu  = this.bar2;
     this.barManager1.MaxItemId = 10;
     this.barManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemTrackBar1
     });
     //
     // bar2
     //
     this.bar2.BarName      = "Main menu";
     this.bar2.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Top;
     this.bar2.DockCol      = 0;
     this.bar2.DockRow      = 0;
     this.bar2.DockStyle    = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.bbiAddTerrain),
         new DevExpress.XtraBars.LinkPersistInfo(this.beiTerrainOpac),
         new DevExpress.XtraBars.LinkPersistInfo(this.bbiFlyToTerrain),
         new DevExpress.XtraBars.LinkPersistInfo(this.bbiWander, true),
         new DevExpress.XtraBars.LinkPersistInfo(this.bbiClickQuery, true),
         new DevExpress.XtraBars.LinkPersistInfo(this.bbiClear),
         new DevExpress.XtraBars.LinkPersistInfo(this.bbiCoord, true),
         new DevExpress.XtraBars.LinkPersistInfo(this.bbiHDistance),
         new DevExpress.XtraBars.LinkPersistInfo(this.bbiVDistance),
         new DevExpress.XtraBars.LinkPersistInfo(this.bbiDistance)
     });
     this.bar2.OptionsBar.AllowQuickCustomization = false;
     this.bar2.OptionsBar.MultiLine = true;
     this.bar2.Text = "Main menu";
     //
     // bbiAddTerrain
     //
     this.bbiAddTerrain.Caption    = "添加地形";
     this.bbiAddTerrain.Id         = 0;
     this.bbiAddTerrain.Name       = "bbiAddTerrain";
     this.bbiAddTerrain.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiAddTerrain_ItemClick);
     //
     // beiTerrainOpac
     //
     this.beiTerrainOpac.Caption           = "地形透明度";
     this.beiTerrainOpac.Edit              = this.repositoryItemTrackBar1;
     this.beiTerrainOpac.EditValue         = "100";
     this.beiTerrainOpac.Enabled           = false;
     this.beiTerrainOpac.Id                = 6;
     this.beiTerrainOpac.Name              = "beiTerrainOpac";
     this.beiTerrainOpac.Width             = 100;
     this.beiTerrainOpac.EditValueChanged += new System.EventHandler(this.beiTerrainOpac_EditValueChanged);
     //
     // repositoryItemTrackBar1
     //
     this.repositoryItemTrackBar1.LabelAppearance.Options.UseTextOptions = true;
     this.repositoryItemTrackBar1.LabelAppearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.repositoryItemTrackBar1.Maximum           = 100;
     this.repositoryItemTrackBar1.Name              = "repositoryItemTrackBar1";
     this.repositoryItemTrackBar1.EditValueChanged += new System.EventHandler(this.repositoryItemTrackBar1_EditValueChanged);
     //
     // bbiFlyToTerrain
     //
     this.bbiFlyToTerrain.Caption    = "飞向地形";
     this.bbiFlyToTerrain.Id         = 7;
     this.bbiFlyToTerrain.Name       = "bbiFlyToTerrain";
     this.bbiFlyToTerrain.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiFlyToTerrain_ItemClick);
     //
     // bbiWander
     //
     this.bbiWander.Caption    = "漫游模式";
     this.bbiWander.Id         = 1;
     this.bbiWander.Name       = "bbiWander";
     this.bbiWander.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiWander_ItemClick);
     //
     // bbiClickQuery
     //
     this.bbiClickQuery.Caption    = "点击查询";
     this.bbiClickQuery.Id         = 3;
     this.bbiClickQuery.Name       = "bbiClickQuery";
     this.bbiClickQuery.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiClickQuery_ItemClick);
     //
     // bbiClear
     //
     this.bbiClear.Caption    = "清除标签";
     this.bbiClear.Id         = 8;
     this.bbiClear.Name       = "bbiClear";
     this.bbiClear.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiClear_ItemClick);
     //
     // bbiHDistance
     //
     this.bbiHDistance.Caption    = "水平距离";
     this.bbiHDistance.Id         = 2;
     this.bbiHDistance.Name       = "bbiHDistance";
     this.bbiHDistance.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiHDistance_ItemClick);
     //
     // bbiVDistance
     //
     this.bbiVDistance.Caption    = "垂直距离";
     this.bbiVDistance.Id         = 4;
     this.bbiVDistance.Name       = "bbiVDistance";
     this.bbiVDistance.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiVDistance_ItemClick);
     //
     // bbiDistance
     //
     this.bbiDistance.Caption    = "直线距离";
     this.bbiDistance.Id         = 5;
     this.bbiDistance.Name       = "bbiDistance";
     this.bbiDistance.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiDistance_ItemClick);
     //
     // barDockControlTop
     //
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Dock             = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location         = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size             = new System.Drawing.Size(560, 55);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock             = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location         = new System.Drawing.Point(0, 447);
     this.barDockControlBottom.Size             = new System.Drawing.Size(560, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock             = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location         = new System.Drawing.Point(0, 55);
     this.barDockControlLeft.Size             = new System.Drawing.Size(0, 392);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock             = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location         = new System.Drawing.Point(560, 55);
     this.barDockControlRight.Size             = new System.Drawing.Size(0, 392);
     //
     // bbiCoord
     //
     this.bbiCoord.Caption    = "坐标";
     this.bbiCoord.Id         = 9;
     this.bbiCoord.Name       = "bbiCoord";
     this.bbiCoord.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiCoord_ItemClick);
     //
     // UCShow3DPipe
     //
     this.Controls.Add(this.splitContainerControl1);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Name  = "UCShow3DPipe";
     this.Size  = new System.Drawing.Size(560, 447);
     this.Load += new System.EventHandler(this.UCShow3DPipe_Load);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.imageCollection1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AxRenderControl3D)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTrackBar1)).EndInit();
     this.ResumeLayout(false);
 }
Beispiel #4
0
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
            this.axRenderControl1 = new Gvitech.CityMaker.Controls.AxRenderControl();
            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
            this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
            this.treeView1 = new ProjectTree.TriStateTreeView();
            this.imageList1 = new System.Windows.Forms.ImageList(this.components);
            this.toolStrip1 = new System.Windows.Forms.ToolStrip();
            this.toolStripButtonSaveProject = new System.Windows.Forms.ToolStripButton();
            this.toolStripButtonPackProject = new System.Windows.Forms.ToolStripButton();
            this.helpProvider1 = new System.Windows.Forms.HelpProvider();
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.ToolStripMenuItemRename = new System.Windows.Forms.ToolStripMenuItem();
            this.ToolStripMenuItemCreateComplexParticleEffect = new System.Windows.Forms.ToolStripMenuItem();
            this.ToolStripMenuItemCreateRenderPolyline = new System.Windows.Forms.ToolStripMenuItem();
            this.ToolStripMenuItemEditPolyline = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripButtonSelect = new System.Windows.Forms.ToolStripButton();

            this.tableLayoutPanel1.SuspendLayout();
            this.tableLayoutPanel2.SuspendLayout();
            this.toolStrip1.SuspendLayout();
            this.contextMenuStrip1.SuspendLayout();
            this.SuspendLayout();
            //
            // axRenderControl1
            //
            this.axRenderControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.axRenderControl1.Enabled = true;
            this.axRenderControl1.Location = new System.Drawing.Point(141, 3);
            this.axRenderControl1.Name = "axRenderControl1";
            this.axRenderControl1.Size = new System.Drawing.Size(585, 516);
            this.axRenderControl1.TabIndex = 0;
            //
            // tableLayoutPanel1
            //
            this.tableLayoutPanel1.ColumnCount = 2;
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 18.93491F));
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 81.06509F));
            this.tableLayoutPanel1.Controls.Add(this.axRenderControl1, 1, 0);
            this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 0);
            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 1;
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
            this.tableLayoutPanel1.Size = new System.Drawing.Size(729, 522);
            this.tableLayoutPanel1.TabIndex = 1;
            //
            // tableLayoutPanel2
            //
            this.tableLayoutPanel2.ColumnCount = 1;
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel2.Controls.Add(this.treeView1, 0, 1);
            this.tableLayoutPanel2.Controls.Add(this.toolStrip1, 0, 0);
            this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 3);
            this.tableLayoutPanel2.Name = "tableLayoutPanel2";
            this.tableLayoutPanel2.RowCount = 2;
            this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
            this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel2.Size = new System.Drawing.Size(132, 516);
            this.tableLayoutPanel2.TabIndex = 1;
            //
            // treeView1
            //
            this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.treeView1.ImageIndex = 0;
            this.treeView1.ImageList = this.imageList1;
            this.treeView1.Location = new System.Drawing.Point(3, 33);
            this.treeView1.Name = "treeView1";
            this.treeView1.SelectedImageIndex = 0;
            this.treeView1.Size = new System.Drawing.Size(126, 480);
            this.treeView1.TabIndex = 2;
            this.treeView1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.treeView1_MouseClick);
            //
            // imageList1
            //
            this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "group.png");
            this.imageList1.Images.SetKeyName(1, "node.png");
            this.imageList1.Images.SetKeyName(2, "Tree.png");
            //
            // toolStrip1
            //
            this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripButtonSaveProject,
            this.toolStripButtonPackProject,
            this.toolStripButtonSelect});
            this.toolStrip1.Location = new System.Drawing.Point(0, 0);
            this.toolStrip1.Name = "toolStrip1";
            this.toolStrip1.Size = new System.Drawing.Size(132, 30);
            this.toolStrip1.TabIndex = 3;
            this.toolStrip1.Text = "toolStrip1";
            //
            // toolStripButtonSaveProject
            //
            this.toolStripButtonSaveProject.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripButtonSaveProject.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonSaveProject.Image")));
            this.toolStripButtonSaveProject.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButtonSaveProject.Name = "toolStripButtonSaveProject";
            this.toolStripButtonSaveProject.Size = new System.Drawing.Size(60, 27);
            this.toolStripButtonSaveProject.Text = "保存工程";
            this.toolStripButtonSaveProject.Click += new System.EventHandler(this.toolStripButtonSaveProject_Click);
            //
            // toolStripButtonPackProject
            //
            this.toolStripButtonPackProject.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripButtonPackProject.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonPackProject.Image")));
            this.toolStripButtonPackProject.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButtonPackProject.Name = "toolStripButtonPackProject";
            this.toolStripButtonPackProject.Size = new System.Drawing.Size(36, 27);
            this.toolStripButtonPackProject.Text = "打包";
            this.toolStripButtonPackProject.Click += new System.EventHandler(this.toolStripButtonPackProject_Click);
            //
            // contextMenuStrip1
            //
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.ToolStripMenuItemRename,
            this.ToolStripMenuItemCreateComplexParticleEffect,
            this.ToolStripMenuItemCreateRenderPolyline,
            this.ToolStripMenuItemEditPolyline});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.ShowImageMargin = false;
            this.contextMenuStrip1.Size = new System.Drawing.Size(148, 92);
            //
            // ToolStripMenuItemRename
            //
            this.ToolStripMenuItemRename.Name = "ToolStripMenuItemRename";
            this.ToolStripMenuItemRename.Size = new System.Drawing.Size(147, 22);
            this.ToolStripMenuItemRename.Text = "重命名";
            this.ToolStripMenuItemRename.Click += new System.EventHandler(this.ToolStripMenuItemRename_Click);
            //
            // ToolStripMenuItemCreateComplexParticleEffect
            //
            this.ToolStripMenuItemCreateComplexParticleEffect.Name = "ToolStripMenuItemCreateComplexParticleEffect";
            this.ToolStripMenuItemCreateComplexParticleEffect.Size = new System.Drawing.Size(147, 22);
            this.ToolStripMenuItemCreateComplexParticleEffect.Text = "创建组合粒子特效";
            this.ToolStripMenuItemCreateComplexParticleEffect.Click += new System.EventHandler(this.ToolStripMenuItemCreateComplexParticleEffect_Click);
            //
            // ToolStripMenuItemCreateRenderPolyline
            //
            this.ToolStripMenuItemCreateRenderPolyline.Name = "ToolStripMenuItemCreateRenderPolyline";
            this.ToolStripMenuItemCreateRenderPolyline.Size = new System.Drawing.Size(147, 22);
            this.ToolStripMenuItemCreateRenderPolyline.Text = "创建线段";
            this.ToolStripMenuItemCreateRenderPolyline.Click += new System.EventHandler(this.ToolStripMenuItemCreateRenderPolyline_Click);
            //
            // ToolStripMenuItemEditPolyline
            //
            this.ToolStripMenuItemEditPolyline.Name = "ToolStripMenuItemEditPolyline";
            this.ToolStripMenuItemEditPolyline.Size = new System.Drawing.Size(147, 22);
            this.ToolStripMenuItemEditPolyline.Text = "编辑线段";
            this.ToolStripMenuItemEditPolyline.Click += new System.EventHandler(this.ToolStripMenuItemEditPolyline_Click);
            //
            // toolStripButtonSelect
            //
            this.toolStripButtonSelect.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripButtonSelect.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonSelect.Image")));
            this.toolStripButtonSelect.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButtonSelect.Name = "toolStripButtonSelect";
            this.toolStripButtonSelect.Size = new System.Drawing.Size(36, 21);
            this.toolStripButtonSelect.Text = "拾取";
            this.toolStripButtonSelect.Click += new System.EventHandler(this.toolStripButtonSelect_Click);
            //
            // MainForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(729, 522);
            this.Controls.Add(this.tableLayoutPanel1);
            this.Name = "MainForm";
            this.Load += new System.EventHandler(this.MainForm_Load);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "ProjectTree";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;

            this.tableLayoutPanel1.ResumeLayout(false);
            this.tableLayoutPanel2.ResumeLayout(false);
            this.tableLayoutPanel2.PerformLayout();
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            this.contextMenuStrip1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Beispiel #5
0
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
            this.axRenderControl1 = new Gvitech.CityMaker.Controls.AxRenderControl();
            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
            this.treeView1 = new System.Windows.Forms.TreeView();
            this.imageList1 = new System.Windows.Forms.ImageList(this.components);
            this.helpProvider1 = new System.Windows.Forms.HelpProvider();

            this.tableLayoutPanel1.SuspendLayout();
            this.SuspendLayout();
            //
            // axRenderControl1
            //
            this.axRenderControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.axRenderControl1.Enabled = true;
            this.axRenderControl1.Location = new System.Drawing.Point(132, 3);
            this.axRenderControl1.Name = "axRenderControl1";
            this.axRenderControl1.Size = new System.Drawing.Size(550, 512);
            this.axRenderControl1.TabIndex = 0;
            //
            // tableLayoutPanel1
            //
            this.tableLayoutPanel1.ColumnCount = 2;
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 18.93491F));
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 81.06509F));
            this.tableLayoutPanel1.Controls.Add(this.axRenderControl1, 1, 0);
            this.tableLayoutPanel1.Controls.Add(this.treeView1, 0, 0);
            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 1;
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
            this.tableLayoutPanel1.Size = new System.Drawing.Size(685, 518);
            this.tableLayoutPanel1.TabIndex = 1;
            //
            // treeView1
            //
            this.treeView1.CheckBoxes = true;
            this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.treeView1.ImageIndex = 0;
            this.treeView1.ImageList = this.imageList1;
            this.treeView1.Location = new System.Drawing.Point(3, 3);
            this.treeView1.Name = "treeView1";
            this.treeView1.SelectedImageIndex = 0;
            this.treeView1.Size = new System.Drawing.Size(123, 512);
            this.treeView1.TabIndex = 1;
            this.treeView1.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterCheck);
            this.treeView1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.treeView1_MouseClick);
            //
            // imageList1
            //
            this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "group.png");
            this.imageList1.Images.SetKeyName(1, "node.png");
            this.imageList1.Images.SetKeyName(2, "Tree.png");
            //
            // MainForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(685, 518);
            this.Controls.Add(this.tableLayoutPanel1);
            this.Name = "MainForm";
            this.Load += new System.EventHandler(this.MainForm_Load);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "IfcTree";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;

            this.tableLayoutPanel1.ResumeLayout(false);
            this.ResumeLayout(false);
        }