Exemple #1
0
        /// <summary>
        /// Shows the panel in a popup
        /// </summary>
        private void ShowOverflowPopup()
        {
            _owner.SuspendSensor();
            Rectangle        b = Bounds;
            RibbonPanelPopup f = new RibbonPanelPopup(this);
            Point            p = Owner.PointToScreen(new Point(b.Left, b.Bottom));

            f.Show(p);
        }
Exemple #2
0
        /// <summary>
        /// Shows the panel in a popup
        /// </summary>
        private void ShowOverflowPopup()
        {
            Rectangle        b = Bounds;
            RibbonPanelPopup f = new RibbonPanelPopup(this);
            Point            p = Owner.PointToScreen(new Point(b.Left, b.Bottom));

            PopupShowed = true;
            f.Show(p);
        }