UserData user=new UserData();
if (this.TB_PSW.Text == this.TB_RPSW.Text)//如果重复密码无误,则记录密码,否则改变重复密码提示框的颜色
{user.Password = this.TB_PSW.Text;
}
else {
this.LB_RPSW.BackColor = System.Drawing.Color.Red;
}
UserData user=new UserData();
if (this.TB_PSW.Text == this.TB_RPSW.Text)//如果重复密码无误,则记录密码,否则改变重复密码提示框的颜色
{}