// Just pass it to the old IWindowTarget // void IWindowTarget.OnHandleChange(IntPtr newHandle) { if (_oldTarget != null) { _oldTarget.OnHandleChange(newHandle); } }
public void OnHandleChange(IntPtr newHandle) { _oldTarget.OnHandleChange(newHandle); if (newHandle != IntPtr.Zero) { _designer.OnHandleChange(); } }
void IWindowTarget.OnHandleChange(IntPtr newHandle) { inner.OnHandleChange(newHandle); }