Exemplo n.º 1
0
        internal void element_RequestVariableValues(IElement sender, RequestVariableValuesEventArgs ea)
        {
            if (sender != null)
                if (ea.VariableNames != null && ea.VariableNames.Length > 0)
                {
                    IVariable[] vars = new IVariable[ea.VariableNames.Length];
                    for (int i = 0; i < ea.VariableNames.Length; i++)
                    {
                        vars[i] = _varMgr[ea.VariableNames[i]];
                    }

                    sender.UpdateVariableDependencyValues(vars);
                }
        }