Beispiel #1
0
        void OwnerCanvas_LinkRemoved(object sender, LinkArgs e)
        {
            MissionElement mElement = e.Target as MissionElement;
            if (mElement == null)
                return;

            if (mlControl.HasMission(e.Target.Caption))
                mlControl.RemoveMission(e.Target.Caption);
        }
Beispiel #2
0
        void OwnerCanvas_LinkEstablished(object sender, LinkArgs e)
        {
            MissionElement mElement = e.Target as MissionElement;
            if (mElement == null)
                return;

            mlControl.AddMission(mElement);
        }
Beispiel #3
0
 protected void OnLinkRemoved(LinkArgs e)
 {
     EventHandler<LinkArgs> handler = LinkRemoved;
     if (handler != null)
         handler(this, e);
 }