コード例 #1
0
        private void CreateOrderButtonClick(object sender, RoutedEventArgs e)
        {
            OrderPageWindow orderPage = new OrderPageWindow();

            orderPage.Show();
            this.Close();
        }
コード例 #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();
        }