(WPF) How to keep GUI code from clutter

I have a graphical interface that will perform many disparate tasks. They are currently separated in the tab user interface. The functionality that makes all the heavy lifting is divided into separate classes, but what remains is still messy. How do you organize the GUI functions in your code so that everything is consistent? I work with WPF on purpose, but general answers are also welcome.

+3
source share
2 answers

You should take a look at the Model-View-ViewModel design template , which is ideal for writing clean GUI code clearly separated from business logic.

+12

- MVVM, GUI-non GUI. , Prism .

+4

Source: https://habr.com/ru/post/1708607/


All Articles