private void btnNew_Click(object sender, EventArgs e) { 零星采购明细 frm = new 零星采购明细(m_authorityFlag, null); frm.ShowDialog(); RefreshDataGridView(); }
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { string billNo = dataGridView1.CurrentRow.Cells["单据号"].Value.ToString(); 零星采购明细 frm = new 零星采购明细(m_authorityFlag, billNo); frm.ShowDialog(); RefreshDataGridView(); PositioningRecord(billNo); }