private static int AdjustItemMergeIndex (ToolStrip ts, ToolStripItem tsi) { if (ts.Items[0] is MdiControlStrip.SystemMenuItem) return tsi.MergeIndex + 1; return tsi.MergeIndex; }