private void tsb_DocDel_Click(object sender, EventArgs e)
{
if (this.dgvDoc.RowCount <= 0) return;
int rowIndex = this.dgvDoc.CurrentCell.RowIndex;
if (rowIndex < 0)
return;
DataGridViewRow row = dgvDoc.Rows[rowIndex];
if (MessageBox.Show("您确认要删除所选择的关联文档?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2) == DialogResult.Yes)
{
this.m_MaterailService.DelAssoDoc(row.Cells["DOCID"].Value.ToString(),row.Cells["DOCVERSION"].Value.ToString(),this.m_product.MATERIALID,this.m_product.VERSION);
docInfo_Init();
}
}