diff --git a/Switch_Toolbox_Library/Forms/Custom/STForm.cs b/Switch_Toolbox_Library/Forms/Custom/STForm.cs index 7131a39b..4d4d22e9 100644 --- a/Switch_Toolbox_Library/Forms/Custom/STForm.cs +++ b/Switch_Toolbox_Library/Forms/Custom/STForm.cs @@ -24,7 +24,6 @@ namespace Toolbox.Library.Forms } public void AddControl(Control control) { - this.contentContainer.Controls.Clear(); this.contentContainer.Controls.Add(this.stPanel1); stPanel1.Controls.Add(control); } @@ -208,6 +207,9 @@ namespace Toolbox.Library.Forms // // stPanel1 // + this.stPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.stPanel1.Location = new System.Drawing.Point(0, 27); this.stPanel1.Name = "stPanel1"; this.stPanel1.Size = new System.Drawing.Size(543, 366); diff --git a/Switch_Toolbox_Library/Toolbox.Library.dll b/Switch_Toolbox_Library/Toolbox.Library.dll index c6febce7..bee54f46 100644 Binary files a/Switch_Toolbox_Library/Toolbox.Library.dll and b/Switch_Toolbox_Library/Toolbox.Library.dll differ diff --git a/Switch_Toolbox_Library/Toolbox.Library.pdb b/Switch_Toolbox_Library/Toolbox.Library.pdb index 7e2fe024..1ac01ba8 100644 Binary files a/Switch_Toolbox_Library/Toolbox.Library.pdb and b/Switch_Toolbox_Library/Toolbox.Library.pdb differ