C
Chris Botha
In VS2003 if I had a Web form, say Form1 and a class, say Class1, then I
could pass the form as parameter to a sub/function in the class, so this
would compile:
Public Class Class1
Public Sub DoSomeStuff(TheForm as Form1)
End Sub
End Class
Using VS2005 the above fails, Form1 is not defined. Class1 is in the
App_Code directory. Anything I import/whatever to resolve this issue?
could pass the form as parameter to a sub/function in the class, so this
would compile:
Public Class Class1
Public Sub DoSomeStuff(TheForm as Form1)
End Sub
End Class
Using VS2005 the above fails, Form1 is not defined. Class1 is in the
App_Code directory. Anything I import/whatever to resolve this issue?