Avatar of wademi
wademi

asked on 

C#.net MessageBox Yes\No option

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();

Open in new window

Microsoft Development

Avatar of undefined
Last Comment
Mike Tomlinson

8/22/2022 - Mon