private void btnAdd_Click(object sender, EventArgs e) { 调运单明细 form = new 调运单明细("", m_authFlag); form.ShowDialog(); DataRefresh(); }
private void btnFind_Click(object sender, EventArgs e) { 调运单明细 form = new 调运单明细(dataGridView1.CurrentRow.Cells["单据号"].Value.ToString(), m_authFlag); form.ShowDialog(); DataRefresh(); PositioningRecord(dataGridView1.CurrentRow.Cells["单据号"].Value.ToString()); }
private void dataGridView1_DoubleClick(object sender, EventArgs e) { if (dataGridView1.CurrentRow == null) { return; } else { string strBillNo = dataGridView1.CurrentRow.Cells["单据号"].Value.ToString(); 调运单明细 form = new 调运单明细(strBillNo, m_authFlag); form.ShowDialog(); DataRefresh(); PositioningRecord(strBillNo); } }