Пример #1
0
        public FunctionEntryNode(INodeGraph ng, IFunction function) : base(ng)
        {
            m_Function     = function;
            m_ExecOC.Text  = "";
            m_TextTitleBar = new diObjectTB(function);

            AddComponet(m_TextTitleBar);
            AddComponet(m_ExecOC);

            Style.AddStyle(StyleManager.StyleType.TitleBar, m_TitleBarColor);

            function.OutputParams.ExecuteForEachParam(OnAddOutputParam);
        }
Пример #2
0
        public FunctionCallNode(INodeGraph ng, IFunction function) : base(ng)
        {
            m_TextTitleBar = new diObjectTB(function);

            m_Function           = function;
            m_TextTitleBar.Title = function.Name;
            m_ExecIC.Text        = "";
            m_ExecOC.Text        = "";

            AddComponet(m_TextTitleBar);
            AddExecComponent();

            function.InputParams.ExecuteForEachParam(OnAddInputParam);
            function.OutputParams.ExecuteForEachParam(OnAddOutputParam);
        }