Ejemplo n.º 1
0
        private void OnCommand(string option)
        {
            switch (option)
            {
            case "hide":
                _shell.Hide();
                break;

            case "show":
                _shell.Show();
                break;

            case "quit":
                _baloon.Dispatcher.BeginInvoke((Action)Dispose);
                break;

            default:
                _baloon.Append(@"\![" + option + "]");
                break;
            }
        }
Ejemplo n.º 2
0
 private void MinimiseApplication()
 {
     _shellWindow.Hide();
     _noticon.Visible = true;
 }