private void FireHistoryMessage(string Message) { // instance the event Args and pass it each value HistoryUpdateEventArgs args = new HistoryUpdateEventArgs(Message); // raise the event with the updated arguments // Something has changed - I suspect HistoryUpdated is not being called in the constructor all of a sudden, // whereas it used to work perfectly. if (HistoryUpdated != null) { HistoryUpdated(this, args); // This is now only firing when the close button is clicked } }
private void FireHistoryMessage(string Message) { // instance the event Args and pass it each value HistoryUpdateEventArgs args = new HistoryUpdateEventArgs(Message); // raise the event with the updated arguments HistoryUpdated(this, args); }