Ejemplo n.º 1
0
        private void CreateOrderButtonClick(object sender, RoutedEventArgs e)
        {
            OrderPageWindow orderPage = new OrderPageWindow();

            orderPage.Show();
            this.Close();
        }
Ejemplo n.º 2
0
        private void OpenOrderButtonClick(object sender, RoutedEventArgs e)
        {
            OrderPageWindow orderPage = new OrderPageWindow();

            orderPage.ProductsInOrderExpander.Visibility = Visibility.Hidden;
            orderPage.ProductsInOrderExpander.IsEnabled  = false;
            orderPage.ProductsInOrderExpander.IsExpanded = false;
            orderPage.Show();
            this.Close();
        }