From the Main class of the Windows Form I’m trying to create an object of a class inside another library(dll).
But I can’t create this object, because I don’t get any help fom Visual Studio, when I’m typing the name of that class.
I guess I need a reference to the library and I have tried to right click on the library and then Add Reference and selected the name of the project where I have my Main class and Windows Form.
But It still isn’t working! Have I done this wrong or have I missed something?
Take the following steps to
accessthe method inlibrary(dll), MSDNreferencesfolder in your form project add click add reference select the project or folder of dll.Include the namespace of the dll in your class (Form) suppose you have namespace yourcomapany.communication then use
usingto include namespace to access classes in it.using yourcomapany.communication;