Question

Winforms doesn't use the Model–View–Controller paradigm like wpf. How is it designed then? Does it use another architecture? I want to understand it better.

Était-ce utile?

La solution

It calls the InitializeComponent(); to draw all controls on the form.

The call for the InitializeComponent is standard in the form's constructor.

The code within the InitializeComponent method is auto generated by what you are dragging to the form. The size, location, looks, etc of a control gets set there.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top