Ejemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (_licenseProvider != null)
     {
         EditLicense licenseEditor = new EditLicense(new Disc(_licenseProvider.FileId,
                                                              _licenseProvider.ProductId,
                                                              BlueFlame.Classes.MediaType.CompactDisc));
         licenseEditor.ShowDialog();
     }
 }
Ejemplo n.º 2
0
 private void tSMI_editLicenseForProduct_Click(object sender, EventArgs e)
 {
     if (lV_products.SelectedItems.Count > 0)
     {
         if (lV_products.SelectedItems[0].Tag is Disc)
         {
             EditLicense licenseDialog = new EditLicense(lV_products.SelectedItems[0].Tag as Disc);
             licenseDialog.ShowDialog();
         }
     }
 }
Ejemplo n.º 3
0
 private void toolStripMenuItem2_Click(object sender, EventArgs e)
 {
     if (lV_licenseProduct.SelectedItems.Count > 0)
     {
         if (lV_licenseProduct.SelectedItems[0].Tag is Disc)
         {
             EditLicense editLicense = new EditLicense(lV_licenseProduct.SelectedItems[0].Tag as Disc);
             editLicense.ShowDialog();
         }
     }
 }
Ejemplo n.º 4
0
 private void tSMI_editLicenseForProduct_Click(object sender, EventArgs e)
 {
     if (lV_products.SelectedItems.Count > 0)
     {
         if (lV_products.SelectedItems[0].Tag is Disc)
         {
             EditLicense licenseDialog = new EditLicense(lV_products.SelectedItems[0].Tag as Disc);
             licenseDialog.ShowDialog();
         }
     }
 }
Ejemplo n.º 5
0
 private void toolStripMenuItem2_Click(object sender, EventArgs e)
 {
     if (lV_licenseProduct.SelectedItems.Count > 0)
     {
         if (lV_licenseProduct.SelectedItems[0].Tag is Disc)
         {
             EditLicense editLicense = new EditLicense(lV_licenseProduct.SelectedItems[0].Tag as Disc);
             editLicense.ShowDialog();
         }
     }
 }