Commit b70b1366 authored by 段廷瑞's avatar 段廷瑞

1、文本进度微调:大小及字体

parent 583a66b2
...@@ -37,21 +37,24 @@ ...@@ -37,21 +37,24 @@
this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
this.label1.ForeColor = System.Drawing.Color.Black; this.label1.ForeColor = System.Drawing.Color.Black;
this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Location = new System.Drawing.Point(0, 0);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(179, 22); this.label1.Size = new System.Drawing.Size(200, 22);
this.label1.TabIndex = 1; this.label1.TabIndex = 1;
this.label1.Text = "label1"; this.label1.Text = "label1";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// wProgressBar // wProgressText
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Window; this.BackColor = System.Drawing.SystemColors.Window;
this.ClientSize = new System.Drawing.Size(179, 22); this.ClientSize = new System.Drawing.Size(200, 22);
this.Controls.Add(this.label1); this.Controls.Add(this.label1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "wProgressBar"; this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Name = "wProgressText";
this.Text = "wProgressBar"; this.Text = "wProgressBar";
this.ResumeLayout(false); this.ResumeLayout(false);
......
...@@ -23,8 +23,8 @@ namespace Tools.MyCommon ...@@ -23,8 +23,8 @@ namespace Tools.MyCommon
//隐藏窗体边框 //隐藏窗体边框
this.ShowInTaskbar = false; //不显示在任务栏 this.ShowInTaskbar = false; //不显示在任务栏
this.FormBorderStyle = FormBorderStyle.None; this.FormBorderStyle = FormBorderStyle.None;
this.MaximumSize = new Size(180, 22); this.MaximumSize = new Size(200, 22);
this.MinimumSize = new Size(180, 22); this.MinimumSize = new Size(200, 22);
this.FormClosing += WProgressText_FormClosing; this.FormClosing += WProgressText_FormClosing;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment