protected virtual void OnMyIntChanged()
 {
     // if (MyIntChanged != null)
     if (myIntChanged != null)
     {   //Combine your data with the event argument
         JobNoEventArgs jobNoEventArgs = new JobNoEventArgs();
         jobNoEventArgs.JobNo = myInt;
         //MyIntChanged(this, jobNoEventArgs);
         myIntChanged(this, jobNoEventArgs);
     }
 }
 public void GetNotificationFromSender(Object sender, JobNoEventArgs e)
 {
     Console.WriteLine("Receiver receives a notification: Sender recently has changed the myInt value to {0}.", e.JobNo);
 }