コード例 #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();
     }
 }
コード例 #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();
         }
     }
 }
コード例 #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();
         }
     }
 }
コード例 #4
0
ファイル: MainForm.cs プロジェクト: rahulsinghch26/imgburn
 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();
         }
     }
 }
コード例 #5
0
ファイル: MainForm.cs プロジェクト: rahulsinghch26/imgburn
 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();
         }
     }
 }