mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-30 00:10:36 +00:00
Some form fixes
This commit is contained in:
parent
ccde8d3276
commit
c4a2c3f7e1
3 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue