internal static bool OnExit ()
		{
			if (Exiting != null) {
				ExitEventArgs args = new ExitEventArgs ();
				Exiting (null, args);
				return !args.Cancel;
			}
			return true;
		}
 void IdeApp_Exiting(object sender, ExitEventArgs args)
 {
     SaveHistory ();
 }