/// <summary> /// todoComment /// </summary> /// <param name="ProposalDetail"></param> public void DeleteProposalDetail(PFoundationProposalDetailRow ProposalDetail) { if (MessageBox.Show("You have chosen to delete this record." + Environment.NewLine + Environment.NewLine + "Dou you really want to delete it?", "Delete Proposal Detail?", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2) == DialogResult.Yes) { ProposalDetail.Delete(); } }