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); } }
private void StatusMessage(string text, Color color) { statusLabel.Clear(); statusLabel.QueueMessage(text, color, 10); }