Question Imports statement on each form?

duphus

Member
Joined
Dec 26, 2009
Messages
20
Programming Experience
Beginner
How would I be able to avoid using the imports statements on each form of the project?

i.e. just using the statements on the main form

Imports System
Imports System.IO
 
Go to the References page of the project properties and import a namespace project-wide by checking it in the lower half of the page. You'll note that some are already imported by default, e.g. System and System.Windows.Forms, which is why you don't need to import them yourself in every code file.
 
Back
Top