T
tomko
Hi,
What is the right way to dispose of a NativeWindow? I guess the
NativeWindow is managed code and will be cleared by the GC, but the
window handle it is holding is a native handle!
I'm using the standard dispose code:
NativeWindow nativeWindow;
protected void Dispose( bool disposing )
{
if( disposing )
{
// Here?
}
// Or here?
}
Where should I call the ReleaseHandle() method?
What is the right way to dispose of a NativeWindow? I guess the
NativeWindow is managed code and will be cleared by the GC, but the
window handle it is holding is a native handle!
I'm using the standard dispose code:
NativeWindow nativeWindow;
protected void Dispose( bool disposing )
{
if( disposing )
{
// Here?
}
// Or here?
}
Where should I call the ReleaseHandle() method?