private void btnAdd_Click(object sender, EventArgs e) { 借货单明细 frm = new 借货单明细(null); frm.ShowDialog(); RefrshData(); PositioningRecord(frm.LnqBill.BillNo); }
private void dataGridView1_DoubleClick(object sender, EventArgs e) { string billNo = dataGridView1.CurrentRow.Cells["单据号"].Value.ToString(); 借货单明细 frm = new 借货单明细(billNo); frm.ShowDialog(); RefrshData(); PositioningRecord(billNo); }