Exemple #1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Shut down the one instance of ResourceHelper.
 /// </summary>
 /// <remarks>
 /// This should be called once when the application shuts down.
 /// </remarks>
 /// ------------------------------------------------------------------------------------
 public static void ShutdownHelper()
 {
     if (s_form != null)
     {
         s_form.DisposeStaticMembers();
         s_form.Dispose();
     }
     s_form = null;
 }
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Shut down the one instance of ResourceHelper.
		/// </summary>
		/// <remarks>
		/// This should be called once when the application shuts down.
		/// </remarks>
		/// ------------------------------------------------------------------------------------
		public static void ShutdownHelper()
		{
			if (s_form != null)
			{
				s_form.DisposeStaticMembers();
				s_form.Dispose();
			}
			s_form = null;
		}