layout test

This commit is contained in:
Bitl 2020-04-21 11:21:40 -07:00
parent f49d91296d
commit 0a6faf41ec
1 changed files with 1231 additions and 1225 deletions

View File

@ -34,7 +34,7 @@ namespace NovetusLauncher
/// Do not change the method contents inside the source code editor. The Forms designer might /// Do not change the method contents inside the source code editor. The Forms designer might
/// not be able to load this method if it was changed manually. /// not be able to load this method if it was changed manually.
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent(int layout = 1)
{ {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
this.button25 = new System.Windows.Forms.Button(); this.button25 = new System.Windows.Forms.Button();
@ -163,6 +163,9 @@ namespace NovetusLauncher
this.panel3.SuspendLayout(); this.panel3.SuspendLayout();
this.panel4.SuspendLayout(); this.panel4.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
if (layout == 1)
{
// //
// button25 // button25
// //
@ -1429,7 +1432,10 @@ namespace NovetusLauncher
this.panel3.PerformLayout(); this.panel3.PerformLayout();
this.panel4.ResumeLayout(false); this.panel4.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
}
else if (layout == 2)
{
}
} }
private System.Windows.Forms.Label label17; private System.Windows.Forms.Label label17;
private System.Windows.Forms.CheckBox checkBox4; private System.Windows.Forms.CheckBox checkBox4;