private void MainWindow_DeleteEvent(object o, DeleteEventArgs args) { PintaCore.Actions.File.Exit.Activate (); }