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