Jelajahi Sumber

make a wider border for the setup window.

gsp 4 tahun lalu
induk
melakukan
5b91838c9f
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      HOZProject/FormHOZMain.cs

+ 3 - 3
HOZProject/FormHOZMain.cs

@@ -523,11 +523,11 @@ namespace HOZProject
             }
             }
             m_FormInit.StartPosition = FormStartPosition.CenterScreen;
             m_FormInit.StartPosition = FormStartPosition.CenterScreen;
             m_FormInit.FormBorderStyle = FormBorderStyle.None;
             m_FormInit.FormBorderStyle = FormBorderStyle.None;
-            m_FormInit.Width = uControl_Init.Width + 2;
-            m_FormInit.Height = uControl_Init.Height + 2;
+            m_FormInit.Width = uControl_Init.Width + 8;
+            m_FormInit.Height = uControl_Init.Height + 8;
             if (m_FormInit.Controls.Count == 0)
             if (m_FormInit.Controls.Count == 0)
             {
             {
-                uControl_Init.Location = new Point(1,1);
+                uControl_Init.Location = new Point(4,4);
                 m_FormInit.Controls.Add(uControl_Init);
                 m_FormInit.Controls.Add(uControl_Init);
                 
                 
             }
             }