public void Show(string msg, string title) { msgBoxEventArg eventArg = new msgBoxEventArg(); eventArg.Message = msg; eventArg.Title = title; OnShow(eventArg); }
public virtual void OnShow(msgBoxEventArg e) { EventHandler handler = msgShow; if (handler != null) { handler(this, e); } }