Provides data for the GeckoWindowSetBoundsEventHandler event.
Inheritance: System.EventArgs
コード例 #1
0
ファイル: ChromeDialog.cs プロジェクト: ZhangLang001/GeckoFX
 private void webBrowser_WindowSetBounds(object sender, GeckoWindowSetBoundsEventArgs e)
 {
     SetBounds(e.Bounds.X, e.Bounds.Y, e.Bounds.Width, e.Bounds.Height, e.BoundsSpecified);
 }
コード例 #2
0
 /// <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);
 }