Пример #1
0
        //Raise Event
        public void RaiseMyEasyEvent(int a, int b)
        {
            EasyEventArgs args = new EasyEventArgs()
            {
                leftValue = a, rightValue = b
            };
            string sender = "EasyEvent";

            EasyEventRaised.Invoke(sender, args);
        }
Пример #2
0
 //Raise Event
 public void RaiseMyEasyEvent(int a, int b)
 {
     EasyEventRaised.Invoke(a, b);
 }