Questions tagged [winforms]
Windows Forms (WinForms) is the name given to the graphical application programming interface (API) included as a part of Microsoft .NET Framework, providing access to native Microsoft Windows interface elements by wrapping the extant Windows API in managed code.
111 questions
0 votes
1 answer
161 views
GitHub workflow for .NET desktop apps that supports CI/CD and entity framework
We want a GitHub workflow that syncs EF migrations across all branches and automates ClickOnce desktop app deployments. The key requirements of this question are highlighted in bold at the bottom. ...
2 votes
1 answer
384 views
How to properly use Data Transfer Objects
I feel something is wrong with my approach handling MVP and the Repository Pattern. I'm making an album winform app just to practice MVP, crud and the Repos. Pattern. First some code. The model: using ...
-1 votes
1 answer
415 views
Hardware test GUI with multiple event sources (4 serial ports and user interaction) - best architecture?
I have the following requirements: Write a GUI app for automated testing of some custom PCB hardware. The system must be usable for a technician with little to no advanced PC skills. The test setup ...
-3 votes
1 answer
622 views
What data structure works best with File Explorer-type applications?
I'm working on a desktop application in C# that reads a directory and displays in a DataGridView the directory entries of the PDFs found in that directory, like a File Explorer that only shows PDFs. ...
1 vote
1 answer
459 views
Adding item (or incrementing count) to ListView, with the MVP pattern in WinForms
Description A WinForms application with the following as part of a form: When the "Add" button is clicked, a new entry is added to the ListView, with data from the TextBoxes and ...
0 votes
0 answers
649 views
Structuring a "Large" Windows Forms Project and Solution To something with Multiple Sub-Projects
I've willingly inherited a VB.Net forms project based on .Net 3.5 last edited with VS2012. I was able to open it up and up-convert it to VS2017. I can compile and run it and make some little tweaks. ...
-3 votes
1 answer
3k views
Choosing architecture for Winforms C# application
I'm developing GUI for controlling and testing hardware device. The GUI consists of many basic controls like textboxes and radio buttons which are mostly independent of each other - each control ...
0 votes
3 answers
2k views
How to handle views and logic in a Winform C# app? [closed]
I come from a webdev background so I'm used to MVC to handle the separation between the views and the logic (and the data/models). I'm starting to develop using Winforms in C# and I want to know what'...