Ejemplo n.º 1
0
            /// <summary>
            /// Invoked upon receiving a 'Confirm' input
            /// </summary>
            /// <param name="e"></param>
            void OnConfirmEvent(Link.ConfirmEvent e)
            {
                if (!_IsAcceptingInput)
                {
                    //Trace.Script("Not accepting input!", this);
                    return;
                }

                //Trace.Script("Confirm", this);

                // If there's no link to redirect output to,
                // send it directly to the interface
                if (!RedirectInput <Link.ConfirmEvent>(e))
                {
                    this.OnInterfaceConfirm();
                }
            }
Ejemplo n.º 2
0
 void OnConfirmEvent(Link.ConfirmEvent e)
 {
     this.Activate();
 }