using System; using System.Windows.Forms; using FastReport.Forms; using FastReport.Utils; namespace FastReport.Cloud.StorageClient.SkyDrive { /// /// Represents the Client Info diabolg form. /// public partial class ClientInfoForm : BaseDialogForm { #region Fields #pragma warning disable FR0001 // Field names must be longer than 2 characters. private string id; #pragma warning restore FR0001 // Field names must be longer than 2 characters. private string secret; #endregion // Fields #region Properties /// /// Gets the client ID. /// public string Id { get { return id; } } /// /// Gets the client secret. /// public string Secret { get { return secret; } } #endregion // Properties #region Constructors /// /// Initializes a new instance of the class. /// public ClientInfoForm() { this.id = ""; this.secret = ""; InitializeComponent(); Localize(); UIUtils.CheckRTL(this); UpdateDpiDependencies(); } #endregion // Constructors #region Public Methods /// public override void Localize() { base.Localize(); MyRes res = new MyRes("Cloud,SkyDrive"); this.Text = res.Get("ClientInfoDialog"); labelClientId.Text = res.Get("ClientId"); } #endregion // Public Methods #region Events Handlers private void btnOk_Click(object sender, EventArgs e) { id = tbClientId.Text; this.Close(); } #endregion // Events Handlers } }