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