Example #1
0
        public void RemoveFromWorkGroup(RCClient client, RCProcess process)
        {
            string            conditionKey      = this.GetConditionKey(client, process);
            WorkGroupTreeNode workGroupTreeNode = this[conditionKey];

            if (workGroupTreeNode != null)
            {
                ClientProcessItem showItem = ClientProcessItem.GetShowItem(client, process);
                if (showItem != null)
                {
                    ClientProcessItem.ShowItem.Remove(showItem);
                    workGroupTreeNode.RemoveClientProcessItem(conditionKey, showItem);
                }
            }
        }