コード例 #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;
 }
コード例 #2
0
ファイル: ResourceHelper.cs プロジェクト: sillsdev/FieldWorks
		/// ------------------------------------------------------------------------------------
		/// <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;
		}