Exemplo n.º 1
0
 public InputDetailForm(Input aSwitch, BindingSource aSource)
 {
     if (aSource == null)
     {
         this.isNew = false;
     }
     else
     {
         switchSource = aSource;
         this.isNew = true;
     }
     currentSwitch = aSwitch;
     InitializeComponent();
 }
Exemplo n.º 2
0
 private void LaunchInputDetailForm(Input aSwitch, BindingSource aSource)
 {
     InputDetailForm switchDetail = new InputDetailForm(aSwitch, aSource);
     switchDetail.ShowDialog();
 }
Exemplo n.º 3
0
 private void LaunchInputDetailForm(Input aSwitch)
 {
     LaunchInputDetailForm(aSwitch, null);
 }
Exemplo n.º 4
0
 public InputDetailForm(Input aSwitch)
     : this(aSwitch, null)
 {
 }