private void MIOpenFile_Click(object sender, RoutedEventArgs e) { Page7 p7 = new Page7(mainWindowFrame); mainWindowFrame.Navigate(p7); }
private void Button_Click_1(object sender, RoutedEventArgs e) { Page7 p7 = new Page7(frame); frame.Navigate(p7); }