C
C#16mo ago
Mathéo

❔ Best way to structure MVVM WPF App for multiples popups

Hi ! I have a (nooby) WPF question. So I'm using MVVM paterns Here is my folder structure:
/MVVM
/Model
Employee.cs
/View
EmployeesView.xaml
MainView.xaml
/ViewModel
EmployeesViewModel.cs
MainViewModel.cs
/MVVM
/Model
Employee.cs
/View
EmployeesView.xaml
MainView.xaml
/ViewModel
EmployeesViewModel.cs
MainViewModel.cs
I would like to add popups for my employees part (Like view employee detail, edit employee detail and add employee) I don't know how to do that, should I create a custom user control ? should I put all of my popups straight in EmployeesView.xaml (which seem not very clean) ? I'm begginer to wpf so your experience will help me 🙂 Thank you, have a nice day
2 Replies
Chamase
Chamase16mo ago
I don't if my basic knowledge on UWP can be applied on your subject Did you want a custom control inside your app or a popup above it ? because it can be 2 different approach I think Mdr je suis con t'es français ça va être plus simple @matheo.eg Contact moi privée je pense ça pourrait être plus simple parceque va falloir aborder pas mal de truc
Accord
Accord16mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server