Esempio n. 1
0
 protected virtual void OnTargetSizeChanged(SizeChangedEventArgs e)
 {
     var handler = this.TargetSizeChanged;
     if (handler != null)
         handler (this, e);
 }
Esempio n. 2
0
 private void OnTargetSizeChanged(object sender, SizeChangedEventArgs e)
 {
     var bounds = new Rectangle(0, 0, e.Size.Width, e.Size.Height);
     _resizer.Resize(_browserHost.WindowHandle, bounds);
 }