Inheritance: System.EventArgs
        protected virtual void OnNewCoordinates()
        {
            var myCoordinates = new MyCoordinates();

            myCoordinates.Direction = direction;
            myCoordinates.Speed     = speed;
            if (NewCoordinates != null)
            {
                NewCoordinates(this, myCoordinates);
            }
        }
 protected virtual void OnNewCoordinates()
 {
     var myCoordinates = new MyCoordinates();
     myCoordinates.Direction = direction;
     myCoordinates.Speed = speed;
     if (NewCoordinates != null)
         NewCoordinates(this, myCoordinates);
 }