WebBrowser GoSearch


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

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

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