/// <summary> /// Defines configuration tray menu behaviour. /// </summary> /// <param name="sender">Sender.</param> /// <param name="e">Event arguments.</param> private void OnConfigure(object sender, EventArgs e) { configuration_view = new Configuration(); configuration_view.Show(); }
/// <summary> /// Defines tray icon mouse click behaviour. /// </summary> /// <param name="sender">Sender.</param> /// <param name="e">Mouse event arguments.</param> public void OnTrayClick(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { configuration_view = new Configuration(); configuration_view.Show(); } }