C#
3
Вклад в тег
if (che.GetType().ToString().IndexOf("CheckBox") > -1)
// IUnknown* pDesigner
IntPtr handle = IntPtr(pDesigner);
Object^ managedObject = System::Runtime::InteropServices::Marshal::GetObjectForIUnknown(handle);