From 34cd7d85afd3f87fd21467256bacc2a38a1a2c01 Mon Sep 17 00:00:00 2001 From: Kurt Date: Wed, 3 Nov 2021 22:20:08 -0700 Subject: [PATCH] Prevent max/min sizing --- .../Subforms/Villager/VillagerDIYTimerEditor.Designer.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NHSE.WinForms/Subforms/Villager/VillagerDIYTimerEditor.Designer.cs b/NHSE.WinForms/Subforms/Villager/VillagerDIYTimerEditor.Designer.cs index 006e1df..1b9c3e3 100644 --- a/NHSE.WinForms/Subforms/Villager/VillagerDIYTimerEditor.Designer.cs +++ b/NHSE.WinForms/Subforms/Villager/VillagerDIYTimerEditor.Designer.cs @@ -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";