From 7378a76ee9ef5b9b84e8d2840555ca81030b9992 Mon Sep 17 00:00:00 2001 From: Bitl Date: Thu, 27 Jul 2017 11:30:00 -0700 Subject: [PATCH] code cleanup and ui mods --- .../RBXLegacyLauncher/MainForm.Designer.cs | 14 ++++++++- .../RBXLegacyLauncher/SDKForm.Designer.cs | 31 ++++++++++++------- .../RBXLegacyLauncher/SDKForm.cs | 5 --- 3 files changed, 32 insertions(+), 18 deletions(-) diff --git a/RBXLegacyLauncher/RBXLegacyLauncher/MainForm.Designer.cs b/RBXLegacyLauncher/RBXLegacyLauncher/MainForm.Designer.cs index 87ed9e6..c731001 100644 --- a/RBXLegacyLauncher/RBXLegacyLauncher/MainForm.Designer.cs +++ b/RBXLegacyLauncher/RBXLegacyLauncher/MainForm.Designer.cs @@ -118,6 +118,7 @@ namespace RBXLegacyLauncher this.label27 = new System.Windows.Forms.Label(); this.label28 = new System.Windows.Forms.Label(); this.textBox5 = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); @@ -731,6 +732,7 @@ namespace RBXLegacyLauncher // // tabPage4 // + this.tabPage4.Controls.Add(this.label2); this.tabPage4.Controls.Add(this.label11); this.tabPage4.Controls.Add(this.label10); this.tabPage4.Controls.Add(this.label9); @@ -769,7 +771,7 @@ namespace RBXLegacyLauncher // this.label9.Location = new System.Drawing.Point(6, 96); this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(393, 170); + this.label9.Size = new System.Drawing.Size(393, 169); this.label9.TabIndex = 4; this.label9.Text = resources.GetString("label9.Text"); this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -994,6 +996,15 @@ namespace RBXLegacyLauncher this.textBox5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.textBox5.TextChanged += new System.EventHandler(this.TextBox5TextChanged); // + // label2 + // + this.label2.Location = new System.Drawing.Point(43, 265); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(322, 16); + this.label2.TabIndex = 7; + this.label2.Text = "RBXLegacy is: Bitl, Carrot, iago, winsupermario1234, and CPunch."; + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -1044,6 +1055,7 @@ namespace RBXLegacyLauncher this.ResumeLayout(false); this.PerformLayout(); } + private System.Windows.Forms.Label label2; private System.Windows.Forms.TextBox textBox7; private System.Windows.Forms.Label label45; private System.Windows.Forms.Button button21; diff --git a/RBXLegacyLauncher/RBXLegacyLauncher/SDKForm.Designer.cs b/RBXLegacyLauncher/RBXLegacyLauncher/SDKForm.Designer.cs index 9cafc69..fbb421c 100644 --- a/RBXLegacyLauncher/RBXLegacyLauncher/SDKForm.Designer.cs +++ b/RBXLegacyLauncher/RBXLegacyLauncher/SDKForm.Designer.cs @@ -55,6 +55,7 @@ namespace RBXLegacyLauncher this.checkBox2 = new System.Windows.Forms.CheckBox(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.tabPage2 = new System.Windows.Forms.TabPage(); + this.button7 = new System.Windows.Forms.Button(); this.textBox4 = new System.Windows.Forms.TextBox(); this.textBox5 = new System.Windows.Forms.TextBox(); this.textBox6 = new System.Windows.Forms.TextBox(); @@ -65,7 +66,6 @@ namespace RBXLegacyLauncher this.label8 = new System.Windows.Forms.Label(); this.button5 = new System.Windows.Forms.Button(); this.button6 = new System.Windows.Forms.Button(); - this.button7 = new System.Windows.Forms.Button(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); @@ -121,6 +121,7 @@ namespace RBXLegacyLauncher this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(232, 20); this.textBox3.TabIndex = 32; + this.textBox3.TextChanged += new System.EventHandler(this.TextBox3TextChanged); // // label4 // @@ -136,6 +137,7 @@ namespace RBXLegacyLauncher this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(311, 20); this.textBox2.TabIndex = 30; + this.textBox2.TextChanged += new System.EventHandler(this.TextBox2TextChanged); // // label3 // @@ -153,6 +155,7 @@ namespace RBXLegacyLauncher this.checkBox3.TabIndex = 28; this.checkBox3.Text = "Client uses a single EXE to run"; this.checkBox3.UseVisualStyleBackColor = true; + this.checkBox3.CheckedChanged += new System.EventHandler(this.CheckBox3CheckedChanged); // // button3 // @@ -171,6 +174,7 @@ namespace RBXLegacyLauncher this.checkBox5.TabIndex = 26; this.checkBox5.Text = "Loads assets from servers online"; this.checkBox5.UseVisualStyleBackColor = true; + this.checkBox5.CheckedChanged += new System.EventHandler(this.CheckBox5CheckedChanged); // // button2 // @@ -213,6 +217,7 @@ namespace RBXLegacyLauncher this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(310, 34); this.textBox1.TabIndex = 21; + this.textBox1.TextChanged += new System.EventHandler(this.TextBox1TextChanged); // // checkBox2 // @@ -222,6 +227,7 @@ namespace RBXLegacyLauncher this.checkBox2.TabIndex = 20; this.checkBox2.Text = "Allows the launcher to set custom IDs"; this.checkBox2.UseVisualStyleBackColor = true; + this.checkBox2.CheckedChanged += new System.EventHandler(this.CheckBox2CheckedChanged); // // checkBox1 // @@ -231,6 +237,7 @@ namespace RBXLegacyLauncher this.checkBox1.TabIndex = 19; this.checkBox1.Text = "Allows players to set custom names"; this.checkBox1.UseVisualStyleBackColor = true; + this.checkBox1.CheckedChanged += new System.EventHandler(this.CheckBox1CheckedChanged); // // tabPage2 // @@ -253,6 +260,15 @@ namespace RBXLegacyLauncher this.tabPage2.Text = "INFO EDITOR"; this.tabPage2.UseVisualStyleBackColor = true; // + // button7 + // + this.button7.Location = new System.Drawing.Point(167, 254); + this.button7.Name = "button7"; + this.button7.Size = new System.Drawing.Size(150, 57); + this.button7.TabIndex = 32; + this.button7.Text = "Save"; + this.button7.UseVisualStyleBackColor = true; + // // textBox4 // this.textBox4.Location = new System.Drawing.Point(6, 154); @@ -315,9 +331,9 @@ namespace RBXLegacyLauncher // // button5 // - this.button5.Location = new System.Drawing.Point(5, 180); + this.button5.Location = new System.Drawing.Point(5, 190); this.button5.Name = "button5"; - this.button5.Size = new System.Drawing.Size(312, 68); + this.button5.Size = new System.Drawing.Size(312, 58); this.button5.TabIndex = 23; this.button5.Text = "New info.txt"; this.button5.UseVisualStyleBackColor = true; @@ -332,15 +348,6 @@ namespace RBXLegacyLauncher this.button6.UseVisualStyleBackColor = true; this.button6.Click += new System.EventHandler(this.Button6Click); // - // button7 - // - this.button7.Location = new System.Drawing.Point(167, 254); - this.button7.Name = "button7"; - this.button7.Size = new System.Drawing.Size(150, 57); - this.button7.TabIndex = 32; - this.button7.Text = "Save"; - this.button7.UseVisualStyleBackColor = true; - // // SDKForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); diff --git a/RBXLegacyLauncher/RBXLegacyLauncher/SDKForm.cs b/RBXLegacyLauncher/RBXLegacyLauncher/SDKForm.cs index 0ca3172..828f54c 100644 --- a/RBXLegacyLauncher/RBXLegacyLauncher/SDKForm.cs +++ b/RBXLegacyLauncher/RBXLegacyLauncher/SDKForm.cs @@ -148,11 +148,6 @@ namespace RBXLegacyLauncher } } - void ClientinfoCreatorLoad(object sender, EventArgs e) - { - - } - void CheckBox5CheckedChanged(object sender, EventArgs e) { if (checkBox5.Checked == true)