Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
How to use activity indicator?

We have a form that is used for display purposes and does not require any user intervention other than closing it.   I have a timer that fires off after the form is loaded to run a process that basically calls a stored proc that does some stuff on the database.  I would like to have the activity indicator to be active while this is happening. 

In my constructor I have the following:

            ultraActivityIndicator1.AnimationEnabled = true;
            ultraActivityIndicator1.AnimationSpeed = 20;

I tried putting the code in the timer_tick event like this:

        void myTimer_Tick(object sender, EventArgs e)
            myTimer.Enabled = false;


            ultraActivityIndicator1.Visible = false;

However the indicator doesnt do anything... how do I get this to work?