WebBrowser Refresh


Node Information
Refreshes current loaded document.
General Information
• This node doesn't have other available options.
Visual
Visual

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

Source
namespace Korduene.KGraph.Nodes.UI.WebBrowser
{
    [IsNode("Refresh")]
    public class WebBrowserRefresh : Node
    {
        Port run = new Port(PortType.IN, typeof(RUN), AcceptsLinks.MULTIPLE, "Refresh");
        Port control = new Port(PortType.IN, typeof(Korduene.Designer.Standard.WebBrowser), AcceptsLinks.ONE, "WebBrowser");
        public WebBrowserRefresh()
        {
            this.Name = "WebBrowser Refresh";
            this.NodeType = KGraph.NodeType.Method;
            AddPort(run);
            AddPort(control);
            Information = "Refreshes current loaded document.";
        }
        public override string Code()
        {
            return GetValue(control) + ".Refresh();";
        }
    }
}