예제 #1
0
 public void Dispose()
 {
     if (this.handle != System.IntPtr.Zero)
     {
         Kernel32.CloseHandle(this.handle);
         this.handle = System.IntPtr.Zero;
     }
 }
예제 #2
0
 public void Dispose()
 {
     this.ClearSuspend();
     if (this.handle != System.IntPtr.Zero)
         Kernel32.CloseHandle(this.handle); }