Frage

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.

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top