Beispiel #1
0
        private void invent_Click(object sender, RoutedEventArgs e)
        {
            invent invent = new invent(IdUser);

            invent.Show();
            this.Close();
        }
Beispiel #2
0
        private void OK_Click(object sender, RoutedEventArgs e)
        {
            var ok = db.inventory.Where(inv => inv.date == Data && inv.difference == Diff);

            ok.FirstOrDefault().verific = 1;
            db.inventory.Create();
            db.SaveChanges();
            invent invent = new invent(IdUser);

            invent.Show();
            this.Close();
        }