1
0
mirror of synced 2024-09-24 03:28:21 +02:00

Some form fixes

This commit is contained in:
KillzXGaming 2019-07-31 21:13:58 -04:00
parent ccde8d3276
commit c4a2c3f7e1
3 changed files with 3 additions and 1 deletions

View File

@ -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);