Пример #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();
         }
     }
 }
Пример #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();
         }
     }
 }
Пример #3
0
 private void NewDisc()
 {
     EditDisc editDialog = new EditDisc();
     editDialog.ShowDialog();
 }
Пример #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();
         }
     }
 }
Пример #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();
         }
     }
 }
Пример #6
0
        private void NewDisc()
        {
            EditDisc editDialog = new EditDisc();

            editDialog.ShowDialog();
        }