private static void AddMessage(string message) { MessageList.Add(message); if (MessageListChanged != null) { MessageListChanged.Invoke(MessageList, message); } }
private static void addMessage(string message) { MessageList.Add(message); if (MessageListChanged != null) { MessageListChanged.Invoke(MessageList, new EventArgs()); } }