Пример #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;
 }