Пример #1
0
        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);
        }
Пример #2
0
        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);
        }