Пример #1
0
        public void OnRequestClose(object data = null)
        {
            RequestCloseEventHandler handler = RequestClose;

            if (handler != null)
            {
                var e = new RequestCloseEventArgs(data);
                handler(this, e);
            }
        }
Пример #2
0
 public void OnRequestClose(object data = null)
 {
     RequestCloseEventHandler handler = RequestClose;
     if(handler!=null)
     {
         var e = new RequestCloseEventArgs(data);
         handler(this,e);
     }
 }