예제 #1
0
        public EditWindow()
        {
            InitializeComponent();

            var addControl = new AddProductControl();
            StackPanel.Children.Add(addControl);
        }
예제 #2
0
        private void MenuAdd_Click(object sender, RoutedEventArgs e)
        {
            SetVisibility(Visibility.Hidden);

            var addProduct = new AddProductControl();
            ProductStackPanel.Children.Add(addProduct);
        }