chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
+1 vote
Hi ,

By default show method is static method. we can\'t create instance right?

Gnanam
related to an answer for: rea = new RRecord(path);
asked by (4.2k points)

1 Answer

0 votes
Hi ganam,

If you\'d like to prevent MessageBox from showing, you can try this:

Isolate.WhenCalled(() =>

MessageBox.Show(null)).WillReturn(DialogResult.OK);

Please let me know if it helps.

Cheers,

Sapir.
answered by (3.1k points)
...