private void button1_Click(object sender, EventArgs e) { if (Utilizator == null) { using (Absente f = new Absente()) { if (f.ShowDialog(this) == DialogResult.OK) { abse.Add(f.Rezultat); Afisare2(); } } } }
public Absente(Absente ab = null) { InitializeComponent(); }