private void AddOutputArgumentUserControl(string value, string description, string name, TypeInfo typeInfo) { ArgumentUserControl argumentUserControl = new ArgumentUserControl { Dock = DockStyle.Top }; argumentUserControl.Initialise(value, description, name, typeInfo); outputArgumentsPanel.Controls.Add(argumentUserControl); }
private void AddMonitoredVariableUserControl(string value, string description, string name, TypeInfo typeInfo, NodeId nodeId) { ArgumentUserControl argumentUserControl = new ArgumentUserControl { Dock = DockStyle.Top }; argumentUserControl.Initialise(value, description, name, typeInfo); argumentUserControl.Name = nodeId.ToString(); monitoredVariablePanel.Controls.Add(argumentUserControl); }