Inheritance: System.Windows.Forms.Form
 private void LoginAccount()
 {
     MessageBox.Show("Account extracted succesfully! Please login to it.");
     LoginForm login = new LoginForm();
     login.androidAccount = steamAccount;
     login.loginFromAndroid = true;
     login.SetUsername(steamAccount.AccountName);
     login.ShowDialog();
     this.Close();
 }
 private void btnSteamLogin_Click(object sender, EventArgs e)
 {
     LoginForm mLoginForm = new LoginForm();
     mLoginForm.ShowDialog();
     this.loadAccountsList();
 }
 private void LoginAccount()
 {
     MessageBox.Show("Account extracted succesfully! Please login to it.");
     LoginForm login = new LoginForm(LoginForm.LoginType.Android, steamAccount);
     login.ShowDialog();
     this.Close();
 }
 /// <summary>
 /// Display a login form to the user to refresh their OAuth Token
 /// </summary>
 /// <param name="account">The account to refresh</param>
 private void PromptRefreshLogin(SteamGuardAccount account)
 {
     var loginForm = new LoginForm(LoginForm.LoginType.Refresh, account);
     loginForm.ShowDialog();
 }
Ejemplo n.º 5
0
        /// <summary>
        /// Display a login form to the user to refresh their OAuth Token
        /// </summary>
        /// <param name="account">The account to refresh</param>
        private void PromptRefreshLogin(SteamGuardAccount account)
        {
            var loginForm = new LoginForm(LoginForm.LoginType.Refresh, account);

            loginForm.ShowDialog();
        }
 private void menuLoginAgain_Click(object sender, EventArgs e)
 {
     LoginForm mLoginForm = new LoginForm();
     mLoginForm.androidAccount = currentAccount;
     mLoginForm.refreshLogin = true;
     mLoginForm.ShowDialog();
 }