tags:

views:

327

answers:

2

I have a GUI that is going to do a lot of disparate tasks. I currently have these separated in a tab UI. The functionality that does all of the heavy lifting is split into separate classes, but what is left still looks like a mess. How do you organize the GUI functions in code so that everything is coherent? I'm working with WPF specifically, but general answers are also appreciated.

+11  A: 

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

Thomas Levesque
+3  A: 

In addition to Thomas answer - MVVM if for GUI-non GUI separation. You should also separate GUI modules, and Prism will help in that.

Sergey Aldoukhov