Пример #1
0
 public Produkt_anlegen(DatabaseAdapter db)
 {
     InitializeComponent();
     this.db = db;
     cprod   = new ControllerProdukt(db, this);
     cprod.anzeigen(new Produkt());
 }
Пример #2
0
        private void Listchanged(object sender, SelectionChangedEventArgs e)
        {
            Produkt p = ((sender as ListBox).SelectedItem as Produkt);

            cntrl.anzeigen(p);
        }