NumericUpDown UpButton


Node Information
Increments current value of NumericUpDown control.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
GoHome IN RUN MULTIPLE FALSE FALSE
NumericUpDown IN NumericUpDown ONE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.UI.NumericUpDown
{
    [IsNode("UpButton")]
    public class NumericUpDownUpButton : Node
    {
        Port run = new Port(PortType.IN, typeof(RUN), AcceptsLinks.MULTIPLE, "GoHome");
        Port arr = new Port(PortType.IN, typeof(Korduene.Designer.Standard.NumericUpDown), AcceptsLinks.ONE, "NumericUpDown");
        public NumericUpDownUpButton()
        {
            this.Name = "NumericUpDown UpButton";
            this.NodeType = KGraph.NodeType.Method;
            AddPort(run);
            AddPort(arr);
            Information = "Increments current value of NumericUpDown control.";
        }
        public override string Code()
        {
            return GetValue(arr) + ".UpButton();";
        }
    }
}