Esempio n. 1
0
        /// <summary>
        /// Handle a workspace that want to be connected.
        /// </summary>
        public void HandleKwsToConnect(Workspace kws)
        {
            if (kws.InKasConnectTree()) return;

            // Add the workspace to the KAS connect tree.
            kws.AddToKasConnectTree();

            // Request an update of the UI since the connection status may
            // have changed.
            kws.StateChangeUpdate(true);

            // Run our state machine if this is the first connection request.
            if (kws.Kas.KwsConnectTree.Count == 1) RequestRun("KAS connection request");
        }