What is the shortest way to display a popup with a text message ?

  • Thread starter Thread starter Peter Hann
  • Start date Start date
P

Peter Hann

I don't want to create a full Form for this purpose.
Is there a simple built-in MessageBox available from CSharp GUI programs similar to:

ShowMsgBox("This is a sample text");

?

Peter
 
See MessageBox class description in MSDN

MessageBox.Show is probably what you need

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top