Beispiel #1
0
        /// <summary>
        /// Handle a workspace that want to be connected.
        /// </summary>
        public static void HandleKwsToConnect(Workspace kws)
        {
            if (kws.InKcdConnectTree())
            {
                return;
            }

            // Add the workspace to the KCD connect tree.
            kws.AddToKcdConnectTree();

            // Run our state machine if this is the first connection request.
            if (kws.Kcd.KwsConnectTree.Count == 1)
            {
                RequestRun("KCD connection request");
            }
        }
Beispiel #2
0
        /// <summary>
        /// Handle a workspace that want to be connected.
        /// </summary>
        public static void HandleKwsToConnect(Workspace kws)
        {
            if (kws.InKcdConnectTree()) return;

            // Add the workspace to the KCD connect tree.
            kws.AddToKcdConnectTree();

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