From f01d639477141399fd3e092f3f0acb3ced7e02bf Mon Sep 17 00:00:00 2001 From: tangxu <tangxu76880903> Date: 星期一, 06 五月 2024 19:37:36 +0800 Subject: [PATCH] 创建WinfrmUI --- Hydro.ClientTool/Form1.Designer.cs | 47 ++++++++--------------------------------------- 1 files changed, 8 insertions(+), 39 deletions(-) diff --git a/Hydro.ClientTool/Form1.Designer.cs b/Hydro.ClientTool/Form1.Designer.cs index 2337e9e..f6b5329 100644 --- a/Hydro.ClientTool/Form1.Designer.cs +++ b/Hydro.ClientTool/Form1.Designer.cs @@ -3,14 +3,14 @@ partial class Form1 { /// <summary> - /// 蹇呴渶鐨勮璁″櫒鍙橀噺銆� + /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> - /// 娓呯悊鎵�鏈夋鍦ㄤ娇鐢ㄧ殑璧勬簮銆� + /// Clean up any resources being used. /// </summary> - /// <param name="disposing">濡傛灉搴旈噴鏀炬墭绠¤祫婧愶紝涓� true锛涘惁鍒欎负 false銆�</param> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) @@ -20,56 +20,25 @@ base.Dispose(disposing); } - #region Windows 绐椾綋璁捐鍣ㄧ敓鎴愮殑浠g爜 + #region Windows Form Designer generated code /// <summary> - /// 璁捐鍣ㄦ敮鎸佹墍闇�鐨勬柟娉� - 涓嶈淇敼 - /// 浣跨敤浠g爜缂栬緫鍣ㄤ慨鏀规鏂规硶鐨勫唴瀹广�� + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - //this.mapViewer1 = new Hydro.MapUI.MapViewer(); this.SuspendLayout(); - // - // mapViewer1 - // - //this.mapViewer1._IsEditMode = true; - //this.mapViewer1._newTemplate = null;/*((Hydro.MapView.Template)(resources.GetObject("mapViewer1._newTemplate")));*/ - //this.mapViewer1._ShowJunction = true; - //this.mapViewer1._ShowValve = true; - //this.mapViewer1._Template = null; - //this.mapViewer1.BackColor = System.Drawing.Color.Transparent; - //this.mapViewer1.Dock = System.Windows.Forms.DockStyle.Fill; - //this.mapViewer1.junction_multiply = 1F; - //this.mapViewer1.Link_multiply = 1F; - //this.mapViewer1.Location = new System.Drawing.Point(0, 0); - //this.mapViewer1.MapCenter = new System.Drawing.PointF(0,0);//((System.Drawing.PointF)(resources.GetObject("mapViewer1.MapCenter"))); - //this.mapViewer1.Name = "mapViewer1"; - //this.mapViewer1.Rotation = 0D; - //this.mapViewer1.RotationF = 90D; - //this.mapViewer1.ShowStatusBar = true; - //this.mapViewer1.showToolBar = false; - //this.mapViewer1.Size = new System.Drawing.Size(800, 450); - //this.mapViewer1.TabIndex = 1; - //this.mapViewer1.zoom = 1F; // // Form1 // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); - //this.Controls.Add(this.mapViewer1); + this.ClientSize = new System.Drawing.Size(815, 504); this.Name = "Form1"; - this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); } #endregion - - //private MapUI.MapViewer mapViewer1; } -} - +} \ No newline at end of file -- Gitblit v1.9.3