예제 #1
0
 private void StatusPrompt(string text, Color color, int displayTime = -1)
 {
     if (StatusStrip.InvokeRequired)
     {
         var del = new Action(() => StatusPrompt(text, color));
         StatusStrip.BeginInvoke(del);
     }
     else
     {
         statusSlider.QueueMessage(text, color, displayTime);
     }
 }
예제 #2
0
 private void StatusMessage(string text, Color color)
 {
     statusLabel.Clear();
     statusLabel.QueueMessage(text, color, 10);
 }