private void button1_Click(object sender, EventArgs e) { Eboks.Account account = new Eboks.Account(); account.UserId = tbUserId.Text; account.Password = tbPassword.Text; account.ActivationCode = tbActivationCode.Text; Eboks.Api api = new Eboks.Api(); api.GetSessionForAccount(account); }