void Part() { _irc.Part(_channelName); // Raise the event. MainWindowViewModel uses this to remove from list of channels if (Parted != null) { Parted(this, EventArgs.Empty); } }