Usings Views with Visual Studio
1. Create a Visual Studio ProjectAfter starting Visual Studio, select
New/Project... under the File menu. 2. Create a New Console ApplicationUsing the New Project menu, select Console Application
from the choices for project templates. 3. Add a Reference to the Views DLLAfter Visual Studio has brought up your project,
you must add a reference to the Views DLL.
Under the Project menu there is an Add Reference... option: After selecting this option you will be presented with a screen that looks like this: 4. Proceed to use the Views.Form ClassAfter pressing OK on the "Add Reference" dialog box,
the Solution Explorer window should show the reference to Views.
You can now proceed to write code which instantiates the Views.Form
class and invoke its methods. |