Beispiel #1
0
 public MainForm()
 {
     InitializeComponent();
     database         = new ListBirthDay();
     database.OnLoad += DB_OnLoad;
     database.Load();
 }
Beispiel #2
0
 private void AddBirthDay_Load(object sender, EventArgs e)
 {
     databas           = new ListBirthDay();
     databas.OnLoad   += new ListBirthDay.onEvent(Databas_OnLoad);
     databas.OnAdd    += Databas_OnAdd;
     databas.OnRemove += Databas_OnRemove;
     databas.OnError  += Databas_OnError;
     databas.Load();
 }