protected void loginButton_Click(object sender, EventArgs e) { if (this.CheckParameter()) { try { Business.AuthParameter parameter = new Business.AuthParameter(); parameter.Type = Business.AuthType.PASSWORD; parameter.AppKey = this.AppKey; parameter.Account = this.accountBox.Text; parameter.Password = this.passwordBox.Text; this.LoginByParameter(parameter); } catch (Exception ex) { this.PageEngine.ShowMessageBox(ex.Message); } } }