private void Button_Click(object sender, RoutedEventArgs e) { selectedBooks = selectedBooksConvert(); if (selectedBooks.Count != 0 && checkBookCanRenew()) { RenewForm renew = new RenewForm(currentMember.GetAccount(), selectedBooks); renew.Show(); } }
protected void btnSubmit_Click(object sender, EventArgs e) { RenewForm form = new RenewForm(); form.IsRenew = false; UseCarWorkFlowProcess.RunArrangeReturnCar(Guid.Parse(this.txtWFID.Text.ToString()), form); gvDateBind(); this.lbMsg.Text = "提交成功"; this.btnSubmit.Visible = false; }
protected void btnSubmit_Click(object sender, EventArgs e) { RenewForm renewform = new RenewForm(); renewform.ApplyFormID = int.Parse(txtID.Text.ToString()); renewform.IsRenew = true; renewform.RenewCarTime = DateTime.Parse(this.txtEndTime.Text.ToString()); gvDateBind(); this.lbMsg.Text = "提交成功"; this.btnSubmit.Visible = false; UseCarWorkFlowProcess.RunArrangeReturnCar(Guid.Parse(this.txtWFID.Text.ToString()), renewform); }