private void MIInpKeyboard_Click(object sender, RoutedEventArgs e) { Page2 p2 = new Page2(mainWindowFrame); mainWindowFrame.Navigate(p2); }
private void Button_Click(object sender, RoutedEventArgs e) { Page2 p2 = new Page2(frame); frame.Navigate(p2); }