public void SetMessages(Bitmap[] bitmaps, string[] messages) { lock (mutex) { this.bitmaps = bitmaps; this.messages = messages; NewItemEvent.Set(); } }
public void SetMessage(string message, Color color, int control) { lock (mutex) { this.message = message; this.color = color; this.control = control; NewItemEvent.Set(); } }