Example #1
0
    private void TunerCommandsButtonClick(object sender, EventArgs e)
    {
      if (!GetUsbUirtDriverStatusOk())
      {
        ShowDriverOfflineMsg();
        return;
      }

      var learnForm = new USBUIRTLearnForm(USBUIRTLearnForm.LearnType.SetTopBoxCommands);
      learnForm.ShowDialog(this);
    }
    private void internalCommandsButton_Click(object sender, EventArgs e)
    {
      if (!GetUsbUirtDriverStatusOK())
      {
        ShowDriverOfflineMsg();
        return;
      }

      USBUIRTLearnForm learnForm = new USBUIRTLearnForm(USBUIRTLearnForm.LearnType.MediaPortalCommands);
      learnForm.ShowDialog(this);
    }