Exemple #1
0
    private void buttonX10LearnMapping_Click(object sender, EventArgs e)
    {
      RemoteLearn TeachX10;

      if (radioButtonX10Medion.Checked)
      {
        TeachX10 = new RemoteLearn("X10", "Medion X10", X10Remote);
      }
      else if (radioButtonX10Ati.Checked)
      {
        TeachX10 = new RemoteLearn("X10", "ATI X10", X10Remote);
      }
      else if (radioButtonX10Firefly.Checked)
      {
        TeachX10 = new RemoteLearn("X10", "Firefly X10", X10Remote);
      }
      else
      {
        TeachX10 = new RemoteLearn("X10", "Other X10", X10Remote);
      }

      TeachX10.ShowDialog(this);
    }
Exemple #2
0
 private void HCWLearn_Click(object sender, EventArgs e)
 {
   RemoteLearn TeachHCW = new RemoteLearn("HCW", "Hauppauge HCW", HCWRemote);
   ;
   if (TeachHCW != null)
   {
     TeachHCW.ShowDialog(this);
   }
 }