public RouterInputControl(RouterInput input, RouterControlForm containerForm) { InitializeComponent(); this.Input = input; this.containerForm = containerForm; button.Text = input.Name; label.Text = ((input.RegisteredSourceSignalName != null) ? input.RegisteredSourceSignalName : "-"); }
public RouterOutputControl(RouterOutput output, RouterControlForm containerForm) { InitializeComponent(); this.Output = output; this.containerForm = containerForm; button.Text = Output.Name; updateLabel(); }