Пример #1
0
        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);
        }
Пример #2
0
 protected internal void OnElementCaptionChanged(ElementCaptionArgs e)
 {
     EventHandler<ElementCaptionArgs> handler = ElementCaptionChanged;
     if (handler != null)
         handler(this, e);
 }