QuitMeshwork() public static method

public static QuitMeshwork ( ) : bool
return bool
Example #1
0
        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();
        }
Example #2
0
 private void Quit_Activated(object sender, EventArgs args)
 {
     Runtime.QuitMeshwork();
 }
Example #3
0
 private void mnuFileQuit_Activate(object sender, EventArgs e)
 {
     Runtime.QuitMeshwork();
 }