private void RedactJewelry(object sender, RoutedEventArgs e) { AddJewelryWindow add = new AddJewelryWindow(); add.redact.Visibility = Visibility.Visible; add.add.Visibility = Visibility.Collapsed; add.Show(); add.Owner = this; Stock.admin = this; }
private void AddJewelry(object sender, RoutedEventArgs e) { a.SomeJewelry = new Jewelry(); AddJewelryWindow add = new AddJewelryWindow(); add.add.Visibility = Visibility.Visible; add.redact.Visibility = Visibility.Collapsed; add.Show(); //add.Owner = this; }