Browse Source

界面初始位置调整

章政 7 years ago
parent
commit
a60fef4acc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      PLCDataReader/MainWindow.Designer.cs

+ 2 - 0
PLCDataReader/MainWindow.Designer.cs

@@ -112,7 +112,9 @@
             this.Controls.Add(this.Port);
             this.Controls.Add(this.IP_label);
             this.Controls.Add(this.IP);
+            this.MaximizeBox = false;
             this.Name = "MainWindow";
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
             this.Text = "PLCDataReader";
             this.Load += new System.EventHandler(this.Form1_Load);
             this.ResumeLayout(false);