title: Prevent ToolStripMenuItems from jumping to second screen
body: <p>I have an application that is mostly operated through NotifyIcon's ContextMenuStrip<br>
  There are multiple levels of ToolStripMenuItems and the user can go through them.<br>
  The problem is, that when the user has two screen, the MenuItems jump to second screen when no space is available.  like so:</p>
  
  <p><img src="https://i.stack.imgur.com/DDCuM.png" alt="enter image description here"></p>
  
  <p>How can I force them to stay on the same screen? I've tried to search through the web but couldn't find an appropriate answer.</p>
  
  <p>Here is a sample piece of code i'm using to test this senario: </p>
  
  <pre><code>public partial class Form1 : Form
  {
  
      public Form1()
      {
          InitializeComponent();
  
          var resources = new ComponentResourceManager(typeof(Form1));
          var notifyIcon1 = new NotifyIcon(components);
          var contextMenuStrip1 = new ContextMenuStrip(components);
          var level1ToolStripMenuItem = new ToolStripMenuItem("level 1 drop down");
          var level2ToolStripMenuItem = new ToolStripMenuItem("level 2 drop down");
          var level3ToolStripMenuItem = new ToolStripMenuItem("level 3 drop down");
  
          notifyIcon1.ContextMenuStrip = contextMenuStrip1;
          notifyIcon1.Icon = ((Icon)(resources.GetObject("notifyIcon1.Icon")));
          notifyIcon1.Visible = true;
  
          level2ToolStripMenuItem.DropDownItems.Add(level3ToolStripMenuItem);
          level1ToolStripMenuItem.DropDownItems.Add(level2ToolStripMenuItem);
          contextMenuStrip1.Items.Add(level1ToolStripMenuItem);
      }
  }
  </code></pre>