© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•11mo ago•
9 replies
Lorenzo

Format text in file - Windows Forms

I'm creating a class creation automator, basically a Windows Forms that has components like the class name, and the properties that the user wants to insert, when he clicks on add class, a savefiledialog opens. The problem is that I need help formatting the text in the class file, I tested with String builder but it didn't work well, because I can't indent the keys, or can I? I'm a layman on the subject so any help or path to follow will help a lot. Thank you.
image.png
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 text box
C#CC# / help
3y ago
Windows Forms
C#CC# / help
13mo ago
Windows forms
C#CC# / help
4y ago
DrawString doesn't update text / Windows Forms
C#CC# / help
2y ago