private void Overview_MouseUp(object sender, MouseEventArgs mouseEvent) { if (mouseEvent.Button != MouseButtons.Right) { return; } for (int i = 0; i < Overview.TabCount; i++) { Rectangle tabRectangle = Overview.GetTabRect(i); if (!tabRectangle.Contains(mouseEvent.Location)) { continue; } if (Overview.SelectedIndex != i) { continue; } checkUncheckDotStrip.Show(Overview, mouseEvent.Location); break; } }