public static int ReleaseDC(HandleRef hWnd, HandleRef hDC)
 {
     HandleCollector.Remove((IntPtr)hDC, CommonHandles.HDC);
     return(IntReleaseDC(hWnd, hDC));
 }
示例#2
0
 protected override void Dispose(bool disposing)
 {
     HandleCollector.Remove(_collectorId);
     base.Dispose(disposing);
 }