Beispiel #1
0
 private void EditDisc()
 {
     if (lV_products.SelectedItems.Count > 0)
     {
         if (lV_products.SelectedItems[0].Tag is Disc)
         {
             EditDisc editDiscDialog = new EditDisc(lV_products.SelectedItems[0].Tag as Disc);
             editDiscDialog.ShowDialog();
         }
     }
 }
Beispiel #2
0
 private void editProductToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (lV_licenseProduct.SelectedItems.Count > 0)
     {
         if (lV_licenseProduct.SelectedItems[0].Tag is Disc)
         {
             EditDisc editDisc = new EditDisc(lV_licenseProduct.SelectedItems[0].Tag as Disc);
             editDisc.ShowDialog();
         }
     }
 }
Beispiel #3
0
 private void NewDisc()
 {
     EditDisc editDialog = new EditDisc();
     editDialog.ShowDialog();
 }
Beispiel #4
0
 private void editProductToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if(lV_licenseProduct.SelectedItems.Count > 0)
     {
         if (lV_licenseProduct.SelectedItems[0].Tag is Disc)
         {
             EditDisc editDisc = new EditDisc(lV_licenseProduct.SelectedItems[0].Tag as Disc);
             editDisc.ShowDialog();
         }
     }
 }
Beispiel #5
0
 private void EditDisc()
 {
     if (lV_products.SelectedItems.Count > 0)
     {
         if(lV_products.SelectedItems[0].Tag is Disc)
         {
             EditDisc editDiscDialog = new EditDisc(lV_products.SelectedItems[0].Tag as Disc);
             editDiscDialog.ShowDialog();
         }
     }
 }
Beispiel #6
0
        private void NewDisc()
        {
            EditDisc editDialog = new EditDisc();

            editDialog.ShowDialog();
        }