public void on_win_delete(object o, DeleteEventArgs e) { /* * e.RetVal = true; * ToggleVisible (); * * Runtime.NotifyService.NotifyTray ("Meshwork is still running!", * "Even though the main window is no longer visible, Meshwork is still running.\n\n" + * "To restore the main window, click the icon that this notice is pointing to.\n\n" + * "<a href=\"#\">Click here</a> to never show this notice again.", * null); * */ e.RetVal = true; Runtime.QuitMeshwork(); }
private void Quit_Activated(object sender, EventArgs args) { Runtime.QuitMeshwork(); }
private void mnuFileQuit_Activate(object sender, EventArgs e) { Runtime.QuitMeshwork(); }