コード例 #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"];
        }
コード例 #2
0
 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;
 }
コード例 #3
0
 public LoginForm(WinFormRestAPI form)
 {
     InitializeComponent();
     this.mainForm = form;
 }
コード例 #4
0
 public CreateBrowserLoginForm(WinFormRestAPI form)
 {
     InitializeComponent();
     this.mainForm = form;
 }