diff --git a/RBXLegacyLauncher/RBXLegacyLauncher/CharacterCustomization.Designer.cs b/RBXLegacyLauncher/RBXLegacyLauncher/CharacterCustomization.Designer.cs index fb83ce2..3e788a1 100644 --- a/RBXLegacyLauncher/RBXLegacyLauncher/CharacterCustomization.Designer.cs +++ b/RBXLegacyLauncher/RBXLegacyLauncher/CharacterCustomization.Designer.cs @@ -106,13 +106,14 @@ namespace RBXLegacyLauncher this.listBox2 = new System.Windows.Forms.ListBox(); this.listBox1 = new System.Windows.Forms.ListBox(); this.tabPage4 = new System.Windows.Forms.TabPage(); - this.button1308 = new System.Windows.Forms.Button(); - this.button1208 = new System.Windows.Forms.Button(); - this.radioButton9 = new System.Windows.Forms.RadioButton(); - this.radioButton8 = new System.Windows.Forms.RadioButton(); - this.radioButton7 = new System.Windows.Forms.RadioButton(); + this.panel1 = new System.Windows.Forms.Panel(); this.radioButton6 = new System.Windows.Forms.RadioButton(); this.radioButton5 = new System.Windows.Forms.RadioButton(); + this.radioButton7 = new System.Windows.Forms.RadioButton(); + this.radioButton9 = new System.Windows.Forms.RadioButton(); + this.radioButton8 = new System.Windows.Forms.RadioButton(); + this.button1308 = new System.Windows.Forms.Button(); + this.button1208 = new System.Windows.Forms.Button(); this.label6 = new System.Windows.Forms.Label(); this.button1108 = new System.Windows.Forms.Button(); this.button1008 = new System.Windows.Forms.Button(); @@ -132,7 +133,6 @@ namespace RBXLegacyLauncher this.label2 = new System.Windows.Forms.Label(); this.textBox2 = new System.Windows.Forms.TextBox(); this.button4 = new System.Windows.Forms.Button(); - this.panel1 = new System.Windows.Forms.Panel(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabControl2.SuspendLayout(); @@ -146,10 +146,10 @@ namespace RBXLegacyLauncher ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.tabPage4.SuspendLayout(); + this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit(); - this.panel1.SuspendLayout(); this.SuspendLayout(); // // radioButton1 @@ -918,52 +918,17 @@ namespace RBXLegacyLauncher this.tabPage4.Text = "MISCELLANEOUS"; this.tabPage4.UseVisualStyleBackColor = true; // - // button1308 + // panel1 // - this.button1308.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button1308.BackgroundImage"))); - this.button1308.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.button1308.Location = new System.Drawing.Point(400, 207); - this.button1308.Name = "button1308"; - this.button1308.Size = new System.Drawing.Size(39, 34); - this.button1308.TabIndex = 74; - this.button1308.UseVisualStyleBackColor = true; - // - // button1208 - // - this.button1208.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button1208.BackgroundImage"))); - this.button1208.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.button1208.Location = new System.Drawing.Point(400, 173); - this.button1208.Name = "button1208"; - this.button1208.Size = new System.Drawing.Size(39, 34); - this.button1208.TabIndex = 73; - this.button1208.UseVisualStyleBackColor = true; - // - // radioButton9 - // - this.radioButton9.Location = new System.Drawing.Point(211, 5); - this.radioButton9.Name = "radioButton9"; - this.radioButton9.Size = new System.Drawing.Size(51, 22); - this.radioButton9.TabIndex = 72; - this.radioButton9.Text = "2012"; - this.radioButton9.UseVisualStyleBackColor = true; - // - // radioButton8 - // - this.radioButton8.Location = new System.Drawing.Point(164, 5); - this.radioButton8.Name = "radioButton8"; - this.radioButton8.Size = new System.Drawing.Size(51, 22); - this.radioButton8.TabIndex = 71; - this.radioButton8.Text = "2011"; - this.radioButton8.UseVisualStyleBackColor = true; - // - // radioButton7 - // - this.radioButton7.Location = new System.Drawing.Point(107, 6); - this.radioButton7.Name = "radioButton7"; - this.radioButton7.Size = new System.Drawing.Size(51, 22); - this.radioButton7.TabIndex = 70; - this.radioButton7.Text = "2010"; - this.radioButton7.UseVisualStyleBackColor = true; + this.panel1.Controls.Add(this.radioButton6); + this.panel1.Controls.Add(this.radioButton5); + this.panel1.Controls.Add(this.radioButton7); + this.panel1.Controls.Add(this.radioButton9); + this.panel1.Controls.Add(this.radioButton8); + this.panel1.Location = new System.Drawing.Point(159, 150); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(257, 24); + this.panel1.TabIndex = 75; // // radioButton6 // @@ -985,6 +950,53 @@ namespace RBXLegacyLauncher this.radioButton5.Text = "2008"; this.radioButton5.UseVisualStyleBackColor = true; // + // radioButton7 + // + this.radioButton7.Location = new System.Drawing.Point(107, 6); + this.radioButton7.Name = "radioButton7"; + this.radioButton7.Size = new System.Drawing.Size(51, 22); + this.radioButton7.TabIndex = 70; + this.radioButton7.Text = "2010"; + this.radioButton7.UseVisualStyleBackColor = true; + // + // radioButton9 + // + this.radioButton9.Location = new System.Drawing.Point(211, 5); + this.radioButton9.Name = "radioButton9"; + this.radioButton9.Size = new System.Drawing.Size(51, 22); + this.radioButton9.TabIndex = 72; + this.radioButton9.Text = "2012"; + this.radioButton9.UseVisualStyleBackColor = true; + // + // radioButton8 + // + this.radioButton8.Location = new System.Drawing.Point(164, 5); + this.radioButton8.Name = "radioButton8"; + this.radioButton8.Size = new System.Drawing.Size(51, 22); + this.radioButton8.TabIndex = 71; + this.radioButton8.Text = "2011"; + this.radioButton8.UseVisualStyleBackColor = true; + // + // button1308 + // + this.button1308.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button1308.BackgroundImage"))); + this.button1308.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.button1308.Location = new System.Drawing.Point(400, 207); + this.button1308.Name = "button1308"; + this.button1308.Size = new System.Drawing.Size(39, 34); + this.button1308.TabIndex = 74; + this.button1308.UseVisualStyleBackColor = true; + // + // button1208 + // + this.button1208.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button1208.BackgroundImage"))); + this.button1208.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.button1208.Location = new System.Drawing.Point(400, 173); + this.button1208.Name = "button1208"; + this.button1208.Size = new System.Drawing.Size(39, 34); + this.button1208.TabIndex = 73; + this.button1208.UseVisualStyleBackColor = true; + // // label6 // this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -1165,19 +1177,6 @@ namespace RBXLegacyLauncher this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.Button4Click); // - // panel1 - // - this.panel1.Controls.Add(this.radioButton6); - this.panel1.Controls.Add(this.radioButton5); - this.panel1.Controls.Add(this.radioButton7); - this.panel1.Controls.Add(this.radioButton9); - this.panel1.Controls.Add(this.radioButton8); - this.panel1.Location = new System.Drawing.Point(159, 150); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(257, 24); - this.panel1.TabIndex = 75; - this.panel1.Visible = false; - // // CharacterCustomization // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -1206,10 +1205,10 @@ namespace RBXLegacyLauncher ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.tabPage4.ResumeLayout(false); this.tabPage4.PerformLayout(); + this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit(); - this.panel1.ResumeLayout(false); this.ResumeLayout(false); } private System.Windows.Forms.Panel panel1; diff --git a/RBXLegacyLauncher/RBXLegacyLauncher/MainForm.Designer.cs b/RBXLegacyLauncher/RBXLegacyLauncher/MainForm.Designer.cs index 874ef7e..292a442 100644 --- a/RBXLegacyLauncher/RBXLegacyLauncher/MainForm.Designer.cs +++ b/RBXLegacyLauncher/RBXLegacyLauncher/MainForm.Designer.cs @@ -40,6 +40,7 @@ namespace RBXLegacyLauncher this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); + this.button6 = new System.Windows.Forms.Button(); this.button11 = new System.Windows.Forms.Button(); this.label35 = new System.Windows.Forms.Label(); this.textBox4 = new System.Windows.Forms.TextBox(); @@ -118,7 +119,6 @@ namespace RBXLegacyLauncher this.label27 = new System.Windows.Forms.Label(); this.label28 = new System.Windows.Forms.Label(); this.textBox5 = new System.Windows.Forms.TextBox(); - this.button6 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); @@ -189,6 +189,18 @@ namespace RBXLegacyLauncher this.tabPage1.ToolTipText = "Join a server via IP Address"; this.tabPage1.UseVisualStyleBackColor = true; // + // button6 + // + this.button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.button6.Location = new System.Drawing.Point(281, 183); + this.button6.Name = "button6"; + this.button6.Size = new System.Drawing.Size(109, 24); + this.button6.TabIndex = 45; + this.button6.Text = "admin abilities"; + this.button6.UseVisualStyleBackColor = true; + this.button6.Visible = false; + this.button3.Click += new System.EventHandler(this.Button6Click); + // // button11 // this.button11.Location = new System.Drawing.Point(213, 47); @@ -995,16 +1007,6 @@ namespace RBXLegacyLauncher this.textBox5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.textBox5.TextChanged += new System.EventHandler(this.TextBox5TextChanged); // - // button6 - // - this.button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); - this.button6.Location = new System.Drawing.Point(281, 183); - this.button6.Name = "button6"; - this.button6.Size = new System.Drawing.Size(109, 24); - this.button6.TabIndex = 45; - this.button6.Text = "admin abilities"; - this.button6.UseVisualStyleBackColor = true; - // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); diff --git a/RBXLegacyLauncher/RBXLegacyLauncher/MainForm.cs b/RBXLegacyLauncher/RBXLegacyLauncher/MainForm.cs index d219463..4ab7d9c 100644 --- a/RBXLegacyLauncher/RBXLegacyLauncher/MainForm.cs +++ b/RBXLegacyLauncher/RBXLegacyLauncher/MainForm.cs @@ -113,6 +113,21 @@ namespace RBXLegacyLauncher } } + void Button3Click(object sender, EventArgs e) + { + DialogResult result = MessageBox.Show("If you want to test out your place, you will have to save your place in RBXLegacy's map folder, then launch your place in Play Solo.","RBXLegacy Launcher - Launch ROBLOX Studio", MessageBoxButtons.OKCancel, MessageBoxIcon.Information); + if (result == DialogResult.Cancel) + return; + + WriteConfigValues(); + StartStudio(); + if (GlobalVars.CloseOnLaunch == true) + { + this.WindowState = FormWindowState.Minimized; + } + } + + void Button2Click(object sender, EventArgs e) { WriteConfigValues();