Permalink
Browse files

- Fix.

  • Loading branch information...
1 parent c567f9f commit 333140d19b3139421fa618030d4ac26c138c40d1 TOM_RUS committed Jan 15, 2012
Showing with 12 additions and 11 deletions.
  1. +3 −10 WowArenaLadder/MainForm.Designer.cs
  2. +9 −1 WowArenaLadder/MainForm.cs

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -57,7 +57,6 @@ private void QueryBGs()
{
var item = battlegroupToolStripMenuItem.DropDownItems.Add(bg.Name) as ToolStripMenuItem;
item.Tag = bg.Slug;
- item.CheckOnClick = true;
item.Click += new EventHandler(bgToolStripItem_Click);
}
@@ -71,7 +70,10 @@ void bgToolStripItem_Click(object sender, EventArgs e)
if (bg != sender)
bg.Checked = false;
else
+ {
+ bg.Checked = true;
m_battlegroup = (string)bg.Tag;
+ }
}
QueryData();
@@ -109,7 +111,10 @@ private void teamSizeToolStripMenuItem_Click(object sender, EventArgs e)
if (teamsize != sender)
teamsize.Checked = false;
else
+ {
+ teamsize.Checked = true;
m_size = teamsize.Text;
+ }
}
QueryData();
@@ -206,7 +211,10 @@ private void regionToolStripMenuItem_Click(object sender, EventArgs e)
if (region != sender)
region.Checked = false;
else
+ {
+ region.Checked = true;
m_client.Region = (string)region.Tag;
+ }
}
QueryBGs();

0 comments on commit 333140d

Please sign in to comment.