WindowWrapper.cs 439 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace PTMedicalInsurance.Common
  7. {
  8. class WindowWrapper : System.Windows.Forms.IWin32Window
  9. {
  10. public WindowWrapper(IntPtr handle)
  11. {
  12. _hwnd = handle;
  13. }
  14. public IntPtr Handle
  15. {
  16. get { return _hwnd; }
  17. }
  18. private IntPtr _hwnd;
  19. }
  20. }