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; } }
private void MinimiseApplication() { _shellWindow.Hide(); _noticon.Visible = true; }