private void loadInputs()
 {
     flowLayoutPanel1.Controls.Clear();
     inputControls.Clear();
     if (router == null)
     {
         return;
     }
     foreach (RouterInput input in router.Inputs)
     {
         RouterInputControl control = new RouterInputControl(input, this);
         flowLayoutPanel1.Controls.Add(control);
         inputControls.Add(input, control);
     }
 }
 public void InputClicked(RouterInputControl input) => SelectedInput = input.Input;