예제 #1
0
        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;
        }
예제 #2
0
        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;
        }