private void WindowListClick(object sender, EventArgs e)
{
const int x = 0;
int y = this.ButtonWindowList.Location.Y + this.ButtonWindowList.Height;
this.SelectMenu.Items.Clear();
foreach (TabVS2005 tab in Tabs)
{
IDockContent content = tab.Content;
ToolStripItem item = this.SelectMenu.Items.Add(content.DockHandler.TabText, content.DockHandler.Icon.ToBitmap());
item.Tag = tab.Content;
item.Click += this.ContextMenuItemClick;
}
this.SelectMenu.Show(this.ButtonWindowList, x, y);
}