/// <summary> /// 新建单据 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnAdd_Click(object sender, EventArgs e) { 售后服务配件制造申请单明细单 form = new 售后服务配件制造申请单明细单(null, m_authFlag); form.ShowDialog(); RefreshData(); PositioningRecord(form.Bill); }
private void btnFind_Click(object sender, EventArgs e) { if (!CheckSelectedRow()) { return; } 售后服务配件制造申请单明细单 form = new 售后服务配件制造申请单明细单( (string)dataGridView1.SelectedRows[0].Cells["单据号"].Value, m_authFlag); form.ShowDialog(); RefreshData(); PositioningRecord(form.Bill); }