Exemple #1
0
 //Create/destroy virtual device
 private void checkBoxVDev_CheckedChanged(object sender, EventArgs e)
 {
     if (checkBoxVDev.Checked)
     {
         // Create virtual device, use default name
         m_objPlaylist.ObjectVirtualSourceCreate(1, "", "");
     }
     else
     {
         // Destroy virtual source
         m_objPlaylist.ObjectVirtualSourceCreate(0, "", "");
     }
 }
 private void checkBoxVSource_CheckedChanged(object sender, EventArgs e)
 {
     m_objPlaylist.ObjectVirtualSourceCreate(checkBoxVSource.Checked ? 1 : 0, "", "");
 }