void submitMoney(string liushuihao, double money, string what)
{
if (new usersClass().search_liushuihao(liushuihao))
{
MessageBox.Show("您已经提交过了,请点击'充值记录'查看");
return;
}
if (liushuihao == "")
{
MessageBox.Show("支付宝订单流水号填写有误");
//textBox4.Focus();
return;
}
usersClass user = new usersClass();
if (user.addMoney(liushuihao, money, sys.LoginUser.ID, what) == 1)
MessageBox.Show("充值成功,3分钟内到账。", "退出", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
else
MessageBox.Show("服务器繁忙,请稍后提交!");
}
private void button14_Click(object sender, EventArgs e)