I have a meessage box with the Yes\NO option. If the user selects "Yes" a new form opens. I want when the uesr clicks "NO" the message box to close and the form not to open.I want the user to remain in the orginal form where the message was genertaed from
MessageBox.Show("This record is locked for editing in ddddd\n Do you want to open the record in view only mode", "HART", MessageBoxButtons.YesNo, MessageBoxIcon.Question).ToString();