Exemplo n.º 1
0
 protected override void DestroyWindowCore(HandleRef hwnd)
 {
     WinApi.SendMessage(hwnd.Handle, WinApi.WM_CLOSE, IntPtr.Zero, IntPtr.Zero);
 }
Exemplo n.º 2
0
 protected override HandleRef BuildWindowCore(HandleRef hwndParent)
 {
     WinApi.SetParent(_hWnd, hwndParent.Handle);
     return(new HandleRef(this, _hWnd));
 }