Example #1
0
        private void OnMouseEnter(IToolstripButton button)
        {
            foreach (IToolstripButton stripButton in _buttonLookup.Values)
            {
                if (stripButton == button)
                {
                    continue;
                }

                IToolstripDropdownButton dropButton = stripButton as IToolstripDropdownButton;
                if (dropButton == null)
                {
                    continue;
                }

                if (dropButton.IsVisible)
                {
                    dropButton.Hide();
                }
            }
        }
Example #2
0
 private void OnMouseLeave(IToolstripButton button)
 {
     
 }
Example #3
0
		private void OnMouseEnter(IToolstripButton button)
        {
            foreach (IToolstripButton stripButton in _buttonLookup.Values)
            {
                if (stripButton == button) continue;

                IToolstripDropdownButton dropButton = stripButton as IToolstripDropdownButton;
                if (dropButton == null) continue;

                if (dropButton.IsVisible)
                    dropButton.Hide();
            }
        }
Example #4
0
 private void OnMouseLeave(IToolstripButton button)
 {
 }