Exemple #1
0
 /// <summary>
 /// Provides a place to perform any initial or one-time-only setup for your 
 /// application before it begins the main loop.
 /// </summary>
 /// <remarks>
 /// Override to provide your own setup.  You could run a dialog, a splash screen, 
 /// override <see cref="App" /> properties, whatever you like.  The default 
 /// implementation shows the basecode's <see cref="SetupForm" />, which provides 
 /// a basic setup screen for the end-user.
 /// </remarks>
 public virtual void Setup()
 {
     SetupForm setupForm = new SetupForm();										// Create The Basecode's SetupForm
     setupForm.ShowDialog();														// Show The SetupForm Modal
     setupForm.Dispose();
     setupForm = null;
     App.RunWhileMinimized = false;
     GC.Collect();
 }