コード例 #1
0
 private void ViewCustomerOrders_Click(object sender, RoutedEventArgs e)
 {
     ViewCustomerOrders customerOrders = new ViewCustomerOrders();
     customerOrders.ParentWindow = this;
     this.Hide();
     customerOrders.Show();
 }
コード例 #2
0
        private void ViewCustomerOrders_Click(object sender, RoutedEventArgs e)
        {
            ViewCustomerOrders customerOrders = new ViewCustomerOrders();

            customerOrders.ParentWindow = this;
            this.Hide();
            customerOrders.Show();
        }