public BrowserLoginForm(WinFormRestAPI form) { InitializeComponent(); this.mainForm = form; tenantUrl = ConfigurationManager.AppSettings["tenantUrl"]; clientID = ConfigurationManager.AppSettings["clientId"]; clientSecret = ConfigurationManager.AppSettings["clientSecret"]; redirectURI = ConfigurationManager.AppSettings["redirectURI"]; }
public UpdateUserForm(WinFormRestAPI form, User userItem) { InitializeComponent(); this.mainForm = form; user = userItem; this.textFirstName.Text = user.FirstName; this.textLastName.Text = user.LastName; this.textUserEmail.Text = user.Email; this.textUserLogin.Text = user.Login; this.textUserMobile.Text = user.MobilePhone; }
public LoginForm(WinFormRestAPI form) { InitializeComponent(); this.mainForm = form; }
public CreateBrowserLoginForm(WinFormRestAPI form) { InitializeComponent(); this.mainForm = form; }