Provides data for the GeckoWindowSetBoundsEventHandler event.
Inheritance: System.EventArgs
示例#1
0
 private void webBrowser_WindowSetBounds(object sender, GeckoWindowSetBoundsEventArgs e)
 {
     SetBounds(e.Bounds.X, e.Bounds.Y, e.Bounds.Width, e.Bounds.Height, e.BoundsSpecified);
 }
 /// <summary>Raises the <see cref="WindowSetBounds"/> event.</summary>
 /// <param name="e">The data for the event.</param>
 protected virtual void OnWindowSetBounds(GeckoWindowSetBoundsEventArgs e)
 {
     if (((GeckoWindowSetBoundsEventHandler)this.Events[WindowSetBoundsEvent]) != null)
         ((GeckoWindowSetBoundsEventHandler)this.Events[WindowSetBoundsEvent])(this, e);
 }