private void btnSaveAuth_Click(object sender, EventArgs e) { string userid = txtUserid.Text.Trim(); string authcode = txtAuthcode.Text.Trim(); if (userid.Length != 0 && authcode.Length != 0) { AppController.userid = userid; AppController.authcode = authcode; if (AppController.VerifyAuthCode()) { MessageBox.Show("验证成功"); } } else { MessageBox.Show("请输入用户ID和authID"); } }
private void miExit_Click(object sender, EventArgs e) { AppController.AppExit(); }
private void btnGetAuth_Click(object sender, EventArgs e) { AppController.GetAuthCode(); }
private void btnOk_Click(object sender, EventArgs e) { AppController.getActivities(); }