private void button1_Click(object sender, EventArgs e) { PayForOverdue f1 = new PayForOverdue(get_number_llm.cardnum); f1.Show(); this.Close(); }
private void button1_Click(object sender, EventArgs e) { PayForOverdue f1 = new PayForOverdue(get_number_llm.cardnum); string strlog = "还书成功并进入缴费页面.\n"; Log.WriteLog(strlog); f1.Show(); this.Close(); }
private void button4_Click(object sender, EventArgs e) { PayForOverdue form = new PayForOverdue(str_cardnum); /************日志*********************/ string logstring = "借阅证号:" + str_cardnum + "\t" + "读者:" + label2.Text + "进入了缴费页面." + "\n"; Log.WriteLog(logstring); form.ShowDialog(); }
private void button1_Click(object sender, EventArgs e) { if (textBox1.Text == label1.Text) { errorProvider1.Clear(); this.Close(); string success = "缴费成功!"; MessageBox.Show(success); PayForOverdue PayOver = new PayForOverdue(); PayOver.Success(success); get_number_llm.become_ture = 1; /************日志*********************/ string logstring = "缴费成功." + "\n"; Log.WriteLog(logstring); } else { errorProvider1.SetError(textBox1, "请输入正确的缴费金额"); /************日志*********************/ string logstring = "缴费失败." + "\n"; Log.WriteLog(logstring); } }