Beispiel #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();
     }
 }
Beispiel #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();
         }
     }
 }
Beispiel #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();
         }
     }
 }
Beispiel #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();
         }
     }
 }
Beispiel #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();
         }
     }
 }