using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Text.RegularExpressions; using System.Windows.Forms; using FastReport.Forms; namespace FastReport.Cloud.StorageClient { /// /// Represents the base form for cloud storage web browsers. /// public partial class WebBrowserFormBase : BaseDialogForm { #region Fields private string url; #endregion // Fields #region Properties /// /// Gets or sets the url string. /// public string Url { get { return url; } set { url = value; } } #endregion // Properties #region Constructors /// /// Initizlizes a new instance of the class. /// public WebBrowserFormBase() { url = ""; InitializeComponent(); } /// /// Initializes a new instance of the class. /// /// The url string. public WebBrowserFormBase(string url) { this.url = url; InitializeComponent(); } #endregion // Constructors #region Events Handlers /// /// Handle the web browser form shown event. /// /// The event sender. /// The event args. protected void WebBrowserFormBase_Shown(object sender, EventArgs e) { wbBrowser.Navigate(url); } #endregion // Events Handlers } }