WebBrowser GoBack


Node Information
Navigates WebBrowser to the previous page.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
GoBack IN RUN MULTIPLE FALSE FALSE
WebBrowser IN WebBrowser ONE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.UI.WebBrowser
{
    [IsNode("GoBack")]
    public class WebBrowserGoBack : Node
    {
        Port run = new Port(PortType.IN, typeof(RUN), AcceptsLinks.MULTIPLE, "GoBack");
        Port control = new Port(PortType.IN, typeof(Korduene.Designer.Standard.WebBrowser), AcceptsLinks.ONE, "WebBrowser");
        public WebBrowserGoBack()
        {
            this.Name = "WebBrowser GoBack";
            this.NodeType = KGraph.NodeType.Method;
            AddPort(run);
            AddPort(control);
            Information = "Navigates WebBrowser to the previous page.";
        }
        public override string Code()
        {
            return GetValue(control) + ".GoBack();";
        }
    }
}