/// <summary>
 /// Opens the control inside a context menu in the specified location
 /// </summary>
 /// <param name="startLocation">Screen coordinates location of the control</param>
 public void Show(Point startLocation)
 {
     // Creates new contextmenu form, adds the control to it, display it.
     mContextForm = new ContextMenuForm();
     mContextForm.SetContainingControl(this);
     mContextForm.Height = OfficeLineWidthPicker.PreferredHeight;
     mContextForm.Show(this, startLocation, OfficeLineWidthPicker.PreferredWidth);
 }
        /// <summary>
        /// Opens the control inside a context menu in the specified location
        /// </summary>
        /// <param name="startLocation">Screen coordinates location of the control</param>
        /// <param name="parent">Parent control to place the control at</param>
        public void Show(Control parent, Point startLocation)
        {
            mParentControl = parent;
            // Creates new contextmenu form, adds the control to it, display it.
            ContextMenuForm frm = new ContextMenuForm();

            frm.SetContainingControl(this);
            frm.Height   = OfficeLineWidthPicker.PreferredHeight;
            mContextForm = frm;
            frm.Show(parent, startLocation, OfficeLineWidthPicker.PreferredWidth);
        }
 /// <summary>
 /// Opens the control inside a context menu in the specified location
 /// </summary>
 /// <param name="startLocation">Screen coordinates location of the control</param>
 /// <param name="parent">Parent control to place the control at</param> 
 public void Show(Control parent, Point startLocation)
 {
     mParentControl = parent;
     // Creates new contextmenu form, adds the control to it, display it.      
     ContextMenuForm frm = new ContextMenuForm();
     frm.SetContainingControl(this);
     frm.Height = OfficeLineCapPicker.PreferredHeight;
     mContextForm = frm;
     frm.Show(parent, startLocation, OfficeLineCapPicker.PreferredWidth);
 }
 /// <summary>
 /// Opens the control inside a context menu in the specified location
 /// </summary>
 /// <param name="startLocation">Screen coordinates location of the control</param>
 public void Show(Point startLocation)
 {
     // Creates new contextmenu form, adds the control to it, display it.
     mContextForm = new ContextMenuForm();
     mContextForm.SetContainingControl(this);
     mContextForm.Height = OfficeLineCapPicker.PreferredHeight;
     mContextForm.Show(this, startLocation, OfficeLineCapPicker.PreferredWidth);
 }