예제 #1
0
 /// <summary>
 /// Release the KeyboardHelper singleton object
 /// </summary>
 public static void Release()
 {
     lock (s_syncRoot)
     {
         if (s_keyboardHelper != null)
         {
             s_keyboardHelper.Dispose();
             s_keyboardHelper = null;
         }
     }
 }
예제 #2
0
		/// <summary>
		/// Release the KeyboardHelper singleton object
		/// </summary>
		public static void Release()
		{
			lock (s_syncRoot)
			{
				if (s_keyboardHelper != null)
				{
					s_keyboardHelper.Dispose();
					s_keyboardHelper = null;
				}
			}
		}