private void button14_Click(object sender, System.EventArgs e)
 {
     Antivirus oldAntivirus = antivirusListBox.SelectedItem as Antivirus;
     if (oldAntivirus == null)
     {
         return;
     }
     AntivirusIdsFirewall antivirusForm = new AntivirusIdsFirewall(oldAntivirus);
     antivirusForm.unixSupport.Text = "Unix";
     antivirusForm.windowsSupport.Text = "Windows";
     if (antivirusForm.ShowDialog() == DialogResult.OK)
     {
         Antivirus newAntivirus = new Antivirus()
         {
             Name = antivirusForm.NameObject,
             Price = antivirusForm.PriceObject,
             Support = antivirusForm.SuppotObject,
             ClassId = antivirusForm.ClassObject
         };
         _baseWorker.ChangeObject(oldAntivirus, newAntivirus, "Antiviruses");
         RefreshAntiviruses();
     }
 }
 private void button13_Click(object sender, System.EventArgs e)
 {
     AntivirusIdsFirewall antivirusForm = new AntivirusIdsFirewall();
     antivirusForm.unixSupport.Text = "Unix";
     antivirusForm.windowsSupport.Text = "Windows";
     if (antivirusForm.ShowDialog() == DialogResult.OK)
     {
         Antivirus antivirus = new Antivirus()
         {
             Name = antivirusForm.NameObject,
             Price = antivirusForm.PriceObject,
             Support = antivirusForm.SuppotObject,
             ClassId = antivirusForm.ClassObject
         };
         _baseWorker.AddObject(antivirus, "Antiviruses");
         RefreshAntiviruses();
     }
 }