void OwnerCanvas_ElementCaptionChanged(object sender, ElementCaptionArgs e)
        {
            MissionElement mElement = e.Element as MissionElement;
            if (mElement == null)
                return;

            if (mlControl.HasMission(e.OldCaption))
                mlControl.EditMission(e.OldCaption, e.NewCaption);
        }
Exemple #2
0
 protected internal void OnElementCaptionChanged(ElementCaptionArgs e)
 {
     EventHandler<ElementCaptionArgs> handler = ElementCaptionChanged;
     if (handler != null)
         handler(this, e);
 }