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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top