示例#1
0
 internal void RaiseOnClientToHostWindow(object sender, ClientToHostWindowEventArgs e) 
 {
     if ((this.ClientToHostWindow != null)) 
     {
         this.ClientToHostWindow(sender, e);
     }
 }
示例#2
0
 public virtual void ClientToHostWindow(ref int cX, ref int cY) 
 {
     ClientToHostWindowEventArgs clienttohostwindowEvent = new ClientToHostWindowEventArgs(cX, cY);
     this.parent.RaiseOnClientToHostWindow(this.parent, clienttohostwindowEvent);
     cX = clienttohostwindowEvent.Point.X;
     cY = clienttohostwindowEvent.Point.Y;
 }