© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•16mo ago•
3 replies
hugheselite

How to pass a caught error from one .cs file to output in a textbox in another .cs file? (same sln)

I have two classes that i'm working with. I'm trying to catch an error in one class and output that to a textbox that exists in another class. In my example I'm trying to make my Circle method throw a caught error to my ErrorOutputWindow in my windows form called BooseForm. I think this is a pretty simple implementation but I may be wrong?

All help appreciated, thank you!
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

❔ how to save text from TextBox to file?
C#CC# / help
4y ago
How to pass variable from one View to another View in link?
C#CC# / help
3y ago
How do i pass data from one form to another?
C#CC# / help
4y ago