protected Asigurari(Asigurari a)
 {
     this.denumireBun       = a.denumireBun;
     this.numeAsigurator    = a.numeAsigurator;
     this.locatieBun        = a.locatieBun;
     this.sumaAsigurare     = a.sumaAsigurare;
     this.dataPolitaInceput = a.dataPolitaInceput;
     this.dataPolitaSfarsit = a.dataPolitaSfarsit;
 }
        private void btEditare_Click(object sender, EventArgs e)
        {
            if (lvAsigurari.CheckedItems.Count != 1)
            {
            }
            else
            {
                Asigurari            edit    = local.listaAsigurari.ElementAt(lvAsigurari.CheckedIndices[0]);
                EditareAsigurareForm editare = new EditareAsigurareForm(edit);
                editare.ShowDialog();

                populareListViewAsigurari();
            }
        }
 public AsigurareAutomobilForm(Asigurari a)
 {
     InitializeComponent();
     local = a as Automobil;
 }
 public EditareAsigurareForm(Asigurari a)
 {
     InitializeComponent();
     local = a;
 }
 public AsigurareViataForm(Asigurari a)
 {
     InitializeComponent();
     local = a as Viata;
 }
Example #6
0
 public AsigurareAlteBunuriForm(Asigurari c)
 {
     InitializeComponent();
     local = c as AlteBunuri;
 }
 public AlteBunuri(Asigurari a) : base(a)
 {
 }
Example #8
0
 public AsigurariLocuintaForm(Asigurari a)
 {
     InitializeComponent();
     local = a as Locuinta;
 }