Open Forms List


Node Information
Gets all the open form as an array, you can loop through each of them using For Eeach Loop and get or set their properties.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
Get OUT List<Form> ONE TRUE FALSE
Count OUT Int32 MULTIPLE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.UI.Form
{
    [IsNode("Open Forms List")]
    public class OpenFormsList : Node
    {
        Port a = new Port(PortType.OUT, typeof(List<system.windows.forms.form>), AcceptsLinks.ONE, "Get");
        Port count = new Port(PortType.OUT, typeof(int), AcceptsLinks.MULTIPLE, "Count");
        [System.ComponentModel.Description("if there is no forms connected the value will be set to the current form, which is refered to as 'this'.")]
        public string FormName
        {
            get { return "this"; }
        }
        public OpenFormsList()
        {
            this.Name = "Open Forms List";
            count.Value = "0";
            AddPort(a);
            AddPort(count);
            count.Instructions = "Application.OpenForms.Count";
            a.Instructions = "Application.OpenForms";
            Information = "Gets all the open form as an array, you can loop through each of them 
        }
    }
}

</system.windows.forms.form>