解决了一些小问题

This commit is contained in:
2025-06-23 16:44:28 +08:00
parent 1b01f94bf3
commit 6498f0a220
2 changed files with 354 additions and 360 deletions

13
Form1.Designer.cs generated
View File

@@ -32,7 +32,6 @@
this.Path1_Box = new System.Windows.Forms.TextBox();
this.Choose1_Button = new System.Windows.Forms.Button();
this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.Start_Button = new System.Windows.Forms.Button();
@@ -73,14 +72,6 @@
this.Choose1_Button.UseVisualStyleBackColor = true;
this.Choose1_Button.Click += new System.EventHandler(this.Choose1_Button_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 53);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(0, 12);
this.label1.TabIndex = 3;
//
// label2
//
this.label2.AutoSize = true;
@@ -174,10 +165,11 @@
this.Controls.Add(this.Start_Button);
this.Controls.Add(this.progressBar1);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.Choose1_Button);
this.Controls.Add(this.Path1_Box);
this.Controls.Add(this.Path_Text);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.Name = "MD5Create";
this.Text = "MD5Create";
this.ResumeLayout(false);
@@ -191,7 +183,6 @@
private System.Windows.Forms.TextBox Path1_Box;
private System.Windows.Forms.Button Choose1_Button;
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.ProgressBar progressBar1;
private System.Windows.Forms.Button Start_Button;

View File

@@ -20,6 +20,9 @@ namespace MD5Create
public MD5Create()
{
InitializeComponent();
// 固定窗口启动位置为屏幕左上角
this.StartPosition = FormStartPosition.Manual;
this.Location = new Point(200, 200);
// Initialize progress bar
progressBar1.Minimum = 0;
progressBar1.Maximum = 100;