public virtual void OnMsgChanged(MsgChangedEventArgs e) { if (MsgChanged != null) { MsgChanged(this, e); } }
private void DoSomething(object sender, MsgChangedEventArgs e) { msg= e.Mem; }