MVC in windows forms (c#)

P

Paul

I'm new to .net windows forms but know vc++ mfc and MVC
(model-view-controller) very well.

Just getting started I find it surprising I can't generate custom event
handlers via a wizard in the class view in the vs.net ide. You have to
code your own events and delegates stubs by hand. And there is
no way I am going to use unmanaged win32 SendMessage code in my app if I
can avoid it.

Eventually (like in a day folks) I want to have a model class that will
allow views to register for events. Are there any articles or samples on
MVC for .net forms that you know of? Thanks..
 
R

recoil

Microsoft has a huge website, I forget its name but it is 100% devoted
to allowing people to upload custom scripts/ macros/plugins for VS.NET
I would not be surprised if they have loads and loads of macros that do
things like that. I personally have never liked Code Generation tools
because they totally rape any code and when you go to code you end up
spending hours trying to orientate yourself with the crap that it
produces because microsofts developers don't seem to be capable of
adding 4 + 4 multiple times.

However that would be your best bet for "auto-generation" and "wizard"

As for Win32, You should almost never have to touch Interop.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top