From 6423933f12b1c233c2af57383b417e9073117a33 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期一, 29 四月 2024 11:23:18 +0800 Subject: [PATCH] 添加UI --- JavaCode/FrmMain.Designer.cs | 31 ++++++++++++++++++++++++------- 1 files changed, 24 insertions(+), 7 deletions(-) diff --git a/JavaCode/FrmMain.Designer.cs b/JavaCode/FrmMain.Designer.cs index 10c1a9b..f880498 100644 --- a/JavaCode/FrmMain.Designer.cs +++ b/JavaCode/FrmMain.Designer.cs @@ -28,18 +28,20 @@ /// </summary> private void InitializeComponent() { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain)); this.btnSys = new System.Windows.Forms.Button(); this.btnMybatis = new System.Windows.Forms.Button(); this.btnQGis = new System.Windows.Forms.Button(); this.btnTerrain = new System.Windows.Forms.Button(); this.btnSEM = new System.Windows.Forms.Button(); this.btnEtown = new System.Windows.Forms.Button(); + this.button1 = new System.Windows.Forms.Button(); this.SuspendLayout(); // // btnSys // this.btnSys.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSys.Location = new System.Drawing.Point(143, 37); + this.btnSys.Location = new System.Drawing.Point(143, 23); this.btnSys.Name = "btnSys"; this.btnSys.Size = new System.Drawing.Size(183, 25); this.btnSys.TabIndex = 13; @@ -50,7 +52,7 @@ // btnMybatis // this.btnMybatis.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnMybatis.Location = new System.Drawing.Point(143, 89); + this.btnMybatis.Location = new System.Drawing.Point(143, 68); this.btnMybatis.Name = "btnMybatis"; this.btnMybatis.Size = new System.Drawing.Size(183, 25); this.btnMybatis.TabIndex = 14; @@ -61,7 +63,7 @@ // btnQGis // this.btnQGis.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnQGis.Location = new System.Drawing.Point(143, 143); + this.btnQGis.Location = new System.Drawing.Point(143, 114); this.btnQGis.Name = "btnQGis"; this.btnQGis.Size = new System.Drawing.Size(183, 25); this.btnQGis.TabIndex = 15; @@ -72,7 +74,7 @@ // btnTerrain // this.btnTerrain.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnTerrain.Location = new System.Drawing.Point(143, 197); + this.btnTerrain.Location = new System.Drawing.Point(143, 161); this.btnTerrain.Name = "btnTerrain"; this.btnTerrain.Size = new System.Drawing.Size(183, 25); this.btnTerrain.TabIndex = 16; @@ -83,7 +85,7 @@ // btnSEM // this.btnSEM.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSEM.Location = new System.Drawing.Point(143, 252); + this.btnSEM.Location = new System.Drawing.Point(143, 207); this.btnSEM.Name = "btnSEM"; this.btnSEM.Size = new System.Drawing.Size(183, 25); this.btnSEM.TabIndex = 17; @@ -94,7 +96,7 @@ // btnEtown // this.btnEtown.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnEtown.Location = new System.Drawing.Point(143, 303); + this.btnEtown.Location = new System.Drawing.Point(143, 252); this.btnEtown.Name = "btnEtown"; this.btnEtown.Size = new System.Drawing.Size(183, 25); this.btnEtown.TabIndex = 18; @@ -102,11 +104,25 @@ this.btnEtown.UseVisualStyleBackColor = true; this.btnEtown.Click += new System.EventHandler(this.btnEtown_Click); // + // button1 + // + this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image"))); + this.button1.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.button1.Location = new System.Drawing.Point(201, 293); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(73, 68); + this.button1.TabIndex = 19; + this.button1.Text = "鏁版嵁婧愰厤缃�"; + this.button1.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // // FrmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(468, 371); + this.ClientSize = new System.Drawing.Size(468, 379); + this.Controls.Add(this.button1); this.Controls.Add(this.btnEtown); this.Controls.Add(this.btnSEM); this.Controls.Add(this.btnTerrain); @@ -128,5 +144,6 @@ private System.Windows.Forms.Button btnTerrain; private System.Windows.Forms.Button btnSEM; private System.Windows.Forms.Button btnEtown; + private System.Windows.Forms.Button button1; } } \ No newline at end of file -- Gitblit v1.9.3