You want to call the static (class) method of the MessageBox class.
MessageBox.Show("Hello", "My MessageBox", MessageBoxButtons.OKCancel,
MessageBoxIcon.Warning);
--
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada
"genc ymeri" <ge********@hotmail.com> wrote in message
news:es**************@TK2MSFTNGP09.phx.gbl...
What is the equivalent command with
MessageDlg('Hello', mtWarning, [mbOK,mbAbort], 0);
In C sharp ?? (if it is the same, what reference should I use ?)
thanks in advance