get handle of a window
Published: 27. October 2011 | Updated: 27. October 2011License: Microsoft Public License (MS-PL)
Categories: Winforms
Tags: C# Winforms
Import namespace
using System.Windows.Forms;
Code
Form form = new Form(); IntPtr handle = form.Handle;
| Send us feedback about this snippet » |





