|
namespace Pajocomo.Windows.Forms
{
/// <summary>
/// Represents the method that will handle the <see cref="WebBrowserControl.StatusTextChanged"/> event of the <see cref="WebBrowserControl"/>.
/// </summary>
/// <param name="sender">
/// The source of the event.
/// </param>
/// <param name="e">
/// A <see cref="StatusTextChangedEventArgs"/> that contains the event data.
/// </param>
public delegate void StatusTextChangedEventHandler(object sender, StatusTextChangedEventArgs e);
/// <summary>
/// Provides data for the <see cref="WebBrowserControl.StatusTextChanged"/> event.
/// </summary>
public class StatusTextChangedEventArgs : System.EventArgs
{
#region Private Instance Fields
private IWebBrowserObject webBrowser;
private string statusText;
#endregion
#region Private Instance Constructors
private StatusTextChangedEventArgs() {}
#endregion
#region Internal Instance Constructors
/// <summary>
/// Provides data for the <see cref="WebBrowserControl.StatusTextChanged"/> event.
/// </summary>
/// <param name="webBrowser">
/// The <see cref="IWebBrowserObject"/> that represents the window or frame in which the title change occurred.
/// </param>
/// <param name="statusText">
/// The new status bar text.
/// </param>
internal StatusTextChangedEventArgs(IWebBrowserObject webBrowser, string statusText) : base()
{
this.webBrowser = webBrowser;
this.statusText = statusText;
}
#endregion
#region Public Instance Properties
/// <summary>
/// Gets the <see cref="IWebBrowserObject"/> that represents the window or frame in which the status bar text change occurred.
/// </summary>
/// <value>
/// The <see cref="IWebBrowserObject"/> that represents the window or frame in which the status bar text change occurred.
/// </value>
public IWebBrowserObject WebBrowser
{
get
{
return this.webBrowser;
}
}
/// <summary>
/// Gets the new status bar text.
/// </summary>
/// <value>
/// The new status bar text.
/// </value>
public string StatusText
{
get
{
return this.statusText;
}
}
#endregion
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.