예제 #1
0
 public Car(CarMarka marka, string model, decimal potroshuvachka, int cena)
 {
     Marka          = marka;
     Model          = model;
     Potroshuvachka = potroshuvachka;
     Cena           = cena;
 }
예제 #2
0
 private void btnDodadi_Click(object sender, EventArgs e)
 {
     marka        = new CarMarka(txtCode.Text, txtName.Text);
     DialogResult = DialogResult.OK;
 }