admin stuff

This commit is contained in:
Quacky 2017-08-07 17:12:36 -05:00
parent a645c2cdf0
commit a502206262
2 changed files with 33 additions and 12 deletions

View File

@ -202,10 +202,12 @@ namespace RBXLegacyLauncher
// //
// radioButton4 // radioButton4
// //
this.radioButton4.Checked = true;
this.radioButton4.Location = new System.Drawing.Point(240, 35); this.radioButton4.Location = new System.Drawing.Point(240, 35);
this.radioButton4.Name = "radioButton4"; this.radioButton4.Name = "radioButton4";
this.radioButton4.Size = new System.Drawing.Size(102, 16); this.radioButton4.Size = new System.Drawing.Size(102, 16);
this.radioButton4.TabIndex = 37; this.radioButton4.TabIndex = 37;
this.radioButton4.TabStop = true;
this.radioButton4.Text = "No Icon (NBC)"; this.radioButton4.Text = "No Icon (NBC)";
this.radioButton4.UseVisualStyleBackColor = true; this.radioButton4.UseVisualStyleBackColor = true;
this.radioButton4.CheckedChanged += new System.EventHandler(this.RadioButton4CheckedChanged); this.radioButton4.CheckedChanged += new System.EventHandler(this.RadioButton4CheckedChanged);

View File

@ -134,21 +134,34 @@ namespace RBXLegacyLauncher
textBox1.Text = GlobalVars.Custom_TShirt.ToString(); textBox1.Text = GlobalVars.Custom_TShirt.ToString();
textBox2.Text = GlobalVars.Custom_Shirt.ToString(); textBox2.Text = GlobalVars.Custom_Shirt.ToString();
textBox3.Text = GlobalVars.Custom_Pants.ToString(); textBox3.Text = GlobalVars.Custom_Pants.ToString();
if (GlobalVars.Custom_IconType.Equals("BC")) if (GlobalVars.AdminMode == false)
{ {
radioButton1.Checked = true; if (GlobalVars.Custom_IconType.Equals("BC"))
} {
else if (GlobalVars.Custom_IconType.Equals("TBC")) radioButton1.Checked = true;
{ }
radioButton2.Checked = true; else if (GlobalVars.Custom_IconType.Equals("TBC"))
} {
else if (GlobalVars.Custom_IconType.Equals("OBC")) radioButton2.Checked = true;
{ }
radioButton3.Checked = true; else if (GlobalVars.Custom_IconType.Equals("OBC"))
} {
else if (GlobalVars.Custom_IconType.Equals("NBC")) radioButton3.Checked = true;
}
else if (GlobalVars.Custom_IconType.Equals("NBC"))
{
radioButton4.Checked = true;
}
else
{ {
radioButton1.Checked = false;
radioButton1.Enabled = false;
radioButton2.Checked = false;
radioButton2.Enabled = false;
radioButton3.Checked = false;
radioButton3.Enabled = false;
radioButton4.Checked = true; radioButton4.Checked = true;
radioButton4.Enabled = false;
} }
// pages // pages
if (GlobalVars.SelectedClientVersion >= 6) if (GlobalVars.SelectedClientVersion >= 6)
@ -163,6 +176,7 @@ namespace RBXLegacyLauncher
LArmButton4.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftArmColor); LArmButton4.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftArmColor);
RLegButton5.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightLegColor); RLegButton5.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightLegColor);
LLegButton6.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftLegColor); LLegButton6.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftLegColor);
} }
void tabControl1_SelectedIndexChanged(object sender, EventArgs e) void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
@ -1648,5 +1662,10 @@ namespace RBXLegacyLauncher
{ {
} }
void Label8Click(object sender, EventArgs e)
{
}
} }
} }