Prevent max/min sizing

This commit is contained in:
Kurt
2021-11-03 22:20:08 -07:00
parent 0a65242874
commit 34cd7d85af

View File

@@ -56,7 +56,7 @@ private void InitializeComponent()
this.DT_Time.Location = new System.Drawing.Point(91, 38);
this.DT_Time.Name = "DT_Time";
this.DT_Time.ShowUpDown = true;
this.DT_Time.Size = new System.Drawing.Size(78, 20);
this.DT_Time.Size = new System.Drawing.Size(92, 20);
this.DT_Time.TabIndex = 2;
this.DT_Time.ValueChanged += new System.EventHandler(this.DT_Time_ValueChanged);
//
@@ -122,7 +122,10 @@ private void InitializeComponent()
this.Controls.Add(this.L_EndTime);
this.Controls.Add(this.DT_Time);
this.Controls.Add(this.CHK_Crafting);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = global::NHSE.WinForms.Properties.Resources.icon;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "VillagerDIYTimerEditor";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Villager DIY Editor";