Hi,
I use MVC a a programming pattern, in Win apps i simply pass the form to the controller.
Assume form is frm1
[code=vb]
Public class frm1
inherits Form
'code
Sub button_click()
Dim c as Controller1 = new COntroller1()
c.SenTo(Me)
en sub
end class
'controller class
public class Controller1
Sub New()
End sub
Sub SendTO(byref f as frm1)
'code
end sub
end class
But Assume i have used the same controller and i have webform called Brand that has the implememtation:
[code=vb]
Partial Class BrandAdmin
Inherits System.Web.UI.Page
end class
I know i have to overload teh SendTo(). But what should be the type of teh parameter to accept the web form?
cheer