コード例 #1
0
 protected void OnViewChanged(ViewChangedEventArgs args)
 {
     if (ViewChanged != null)
     {
         ViewChanged(this, args);
     }
 }
コード例 #2
0
 public virtual void InterestTargetChanged(object sender, PositionedObjectChangedEventArgs e)
 {
     // Do internal stuff.
     ViewChangedEventArgs args = new ViewChangedEventArgs();
     PositionedObjectChange ch = new PositionedObjectChange();
     ch.objectId = ((PositionedObject)sender).Id;
     args.change = ch;
     OnViewChanged(args);
 }