Exemplo n.º 1
0
        //Methods called when various buttons are clicked
        //General strategy is enqueue the event with the delegate and then get
        //back to listening for events
        /************************************************************************************************************************/
        private void connectButton_Click(object sender, RoutedEventArgs e)
        {
            log.Info("Clicked the connect button");
            ConnectEvent clickTarget = new ConnectEvent();

            if (_uiDelegate != null)
            {
                log.Debug("Adding clickk event to processing queue");
                _uiDelegate.enqueueEvent(clickTarget);
            }
        }