Exemple #1
0
        protected override void OnLostFocus(EventArgs e)
        {
            if (StartMenu.Visible && StartMenu.CanLooseFocus)
            {
                StartMenu.ToggleVisible(true);
            }

            base.OnLostFocus(e);
        }
Exemple #2
0
 private void StartButton_MouseClick(object sender, MouseEventArgs e)
 {
     StartMenu.ToggleVisible();
 }