Update MainForm from class

Posted on 2009-04-27
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

    Nevermind, I think I should be able to write the code to create my own events from the class.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
    A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    This video discusses moving either the default database or any database to a new volume.

    794 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now