Пример #1
0
        public void Show(string msg, string title)
        {
            msgBoxEventArg eventArg = new msgBoxEventArg();

            eventArg.Message = msg;
            eventArg.Title   = title;
            OnShow(eventArg);
        }
Пример #2
0
        public virtual void OnShow(msgBoxEventArg e)
        {
            EventHandler handler = msgShow;

            if (handler != null)
            {
                handler(this, e);
            }
        }