Пример #1
0
 private void buttonSTB_Click(object sender, EventArgs e)
 {
     if (Card.ListAll().Count == 0)
     {
         MessageBox.Show(this, "There are no capture cards installed in the TV server", "No TV Cards",
                         MessageBoxButtons.OK, MessageBoxIcon.Stop);
     }
     else
     {
         ExternalChannels externalChannels = new ExternalChannels();
         externalChannels.ShowDialog(this);
     }
 }
Пример #2
0
 private void buttonSTB_Click(object sender, EventArgs e)
 {
   if (Card.ListAll().Count == 0)
   {
     MessageBox.Show(this, "There are no capture cards installed in the TV server", "No TV Cards",
                     MessageBoxButtons.OK, MessageBoxIcon.Stop);
   }
   else
   {
     ExternalChannels externalChannels = new ExternalChannels();
     externalChannels.ShowDialog(this);
   }
 }