瀏覽代碼

界面初始位置调整

章政 7 年之前
父節點
當前提交
a60fef4acc
共有 1 個文件被更改,包括 2 次插入0 次删除
  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);