Example #1
0
        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;
 }
Example #3
0
 public LoginForm(WinFormRestAPI form)
 {
     InitializeComponent();
     this.mainForm = form;
 }
Example #4
0
 public CreateBrowserLoginForm(WinFormRestAPI form)
 {
     InitializeComponent();
     this.mainForm = form;
 }