Example #1
0
        /// <summary>
        /// Updates the status message displayed in the status bar and starts the timer to blank it out when it's done
        /// </summary>
        /// <param name="message">The message to be displayed</param>
        private void UpdateStatus(string message)
        {
            StatusToolStripStatusLabel.Text = message;

            if (StatusOverTimer.Enabled)
            {
                StatusOverTimer.Stop();
            }

            StatusOverTimer.Start();
        }
Example #2
0
 /// <summary>
 /// Handles the Timer_Tick event. Wipes the status text and stops the timer.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void StatusOverTimer_Tick(object sender, EventArgs e)
 {
     StatusOverTimer.Stop();
     //StatusToolStripStatusLabel.Text = "<idle>";
 }