[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Update MainForm from class

Posted on 2009-04-27
Medium Priority
Last Modified: 2013-12-17
I'm creating a Windows app and would like to create a class that will perform some actions in the background and be able to update elements on the mainForm.  I've created the new class and an instance of it from the MainForm but I'm not sure how I can update elements such as a Tool Strip Status of the MainForm from the class when certain events happen.  I'm pretty new to C# and Windows app development so any help would be much appreciated.  

Question by:tim_cs
1 Comment
LVL 15

Accepted Solution

tim_cs earned 0 total points
ID: 24243398
Nevermind, I think I should be able to write the code to create my own events from the class.

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month19 days, 15 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question