示例#1
0
 // Just pass it to the old IWindowTarget
 //
 void IWindowTarget.OnHandleChange(IntPtr newHandle)
 {
     if (_oldTarget != null)
     {
         _oldTarget.OnHandleChange(newHandle);
     }
 }
示例#2
0
 public void OnHandleChange(IntPtr newHandle)
 {
     _oldTarget.OnHandleChange(newHandle);
     if (newHandle != IntPtr.Zero)
     {
         _designer.OnHandleChange();
     }
 }
示例#3
0
 void IWindowTarget.OnHandleChange(IntPtr newHandle)
 {
     inner.OnHandleChange(newHandle);
 }