© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
12 replies
alkasel#159

❔ How to organize Windows Forms application

Hi, I'm developing a Windows Forms app that can perform a bunch of translation-related tasks such as:
1) Parsing a c# file, looking for terms, listing those for which there is no translation on database and printing this list
2) Use a file containing <term, translation, language> records and write them onto database
and so on

Now, I'd like to organize properly this application. In particular, I'd like to keep in the Form class only the code related to the form controls, and everything else somewhere else. Furthermore, I'd like the front-end not to be frozen while the app is working, but rather showing progress bars and so on.

I understand I need to use BackgroundWorker for this.

So I have my form, where I'll initialize a BackgroudWorker... but where should the method that will be executed by the Background Worker be placed?

And should I use services (like in .net web app)?

Thanks!
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Windows Forms C# application
C#CC# / help
3y ago
❔ adding system.windows.forms to console application
C#CC# / help
3y ago
Windows Forms
C#CC# / help
13mo ago
Windows forms
C#CC# / help
4y ago