/// <summary> /// 添加事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnAdd_Click(object sender, EventArgs e) { 营销退库明细单 form = new 营销退库明细单(0, m_authFlag); form.ShowDialog(); RefreshDataGridView(); PositioningRecord(form.StrDJH); }
/// <summary> /// 显示明细界面 /// </summary> private void ShowForm() { if (dgv_Show.CurrentRow == null) { return; } 营销退库明细单 form = new 营销退库明细单(Convert.ToInt32(dgv_Show.CurrentRow.Cells["ID"].Value), m_authFlag); form.ShowDialog(); RefreshDataGridView(); PositioningRecord(form.StrDJH); }