C
C#11mo 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
Chamase11mo 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
Accord11mo 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
More Posts
❔ anyone uses/used/run splashkit on visual studio from iOS/MacBooks?Or any recommendation on tutorials ? Most tutorials I’ve seen were on windows and lowkey getting con❔ Whats the fastest way to write this data to a file? (C# Console App.)I need to write an int[][] to disk. Each int[] has 2 values, and the full int[][] has 100mil entries❔ Thin/Thick UI DesignHi! I've been a longtime c#.net programmer at a corporate office. I've been wanting to do some side Visual Studio project reference not updating with new codeBasically I have 2 projects in separate solutions, API and Data (the projects) API usually reference✅ HTTP Error 500.30 - ASP.NET Core app failed to startHello! I'm getting this error after deploying a net core app to IIS 10 (Windows 10 pc). Publish se✅ what is a .zero resource file?im looking at some code for an encoder/decoder and it uses a resource file called Aura.zero but its ❔ What is the best GUI system for C#?Does anyone know a good lib that impliment a gui system?Background service to consume a rabbitmq queue, messages unackedI have a background worker which listens to a rabbitmq queue for email sending. The messages are add❔ What is default data types when reading from Excel sheet for upload into DB.?I was trying to upload a excel sheet but having type miss match error while the data types in excel ❔ What is available approaches to communicate between MicroservicesHello dear friends, Let's assume we have a project has the following Microservices (AuthMicroservice