I created a VB.NET and there are two projects in it. One is a class library with one class file (lets say Clas1.vb) and the other is just of a form. I referenced the Class library into the other form so I could use its methods in it. However, the Class1.vb cannot pickup what project is using it. So how would I go about where a button on Form1 is clicked, and the code behind it is say, ClasslibraryInProject.Class1.MaximizeForm() the Class1.vb knows which project/form passed that command to it, and it then performs the Windowstate = FormWindowState.Maximized command on Form1. Any ideas?
↧