示例#1
0
        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");
            }
        }
示例#2
0
 private void miExit_Click(object sender, EventArgs e)
 {
     AppController.AppExit();
 }
示例#3
0
 private void btnGetAuth_Click(object sender, EventArgs e)
 {
     AppController.GetAuthCode();
 }
示例#4
0
 private void btnOk_Click(object sender, EventArgs e)
 {
     AppController.getActivities();
 }