public override bool TriggerEvent(EventType Event, string[] args)
        {
            if (Event == EventType.SendTo)
            {
                FormSection s = (FormSection)ParentScene.FindObject(args[0], typeof(FormSection));
                if (s == null)
                {
                    return(false);
                }

                s.Visible.set(true);
                LastMarker.SetCurrentForm(s.GetCenterForm());

                return(true);
            }

            return(base.TriggerEvent(Event, args));
        }
Ejemplo n.º 2
0
 public void SetSection(FormSection s)
 {
     ParentSection = s;
 }