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

            if (mlControl.HasMission(e.Element.Caption))
                mlControl.RemoveMission(e.Element.Caption);
        }
Exemple #2
0
 protected void OnElementRemoved(ElementArgs e)
 {
     EventHandler<ElementArgs> handler = ElementRemoved;
     if (handler != null)
         handler(this, e);
 }