MessageBox
In order to display MessageBox. I wish to know how to add user directive "using System.Windows.Forms;"
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Sep 17, 2014, 11:33 AM
However, if you're doing this from a console application, you'll also need to add a reference to System.Wndows.Forms.dll as VS doesn't do this by default.
Right click on the project name in Solution Explorer, select Add Reference from the dropdownlist, navigate to the above named dll and OK it.
Posted Sep 17, 2014, 11:43 AM