I know the general message dialog box, I can achieve by the following code
Application.ShowAlertDialog (Message);
But I want to use the error message dialog box, there is a small red cross in the dialog box, is there anyone know which class is it?
Thanks very much
Solved! Go to Solution.
Solved by SENL1362. Go to Solution.
uh.I just use C#, and program for AutoCAD
the System is't include the Windows...
Is that mean I need reference some dll?
It's need to reference System.Windows.Forms.dll
Then using System.Windows.Froms namespace
Last, write the following code.
MessageBox.Show("hello", "Caption...",MessageBoxButtons.OK,MessageBoxIcon.Error);
Very thanks.