コメント |
[[MainPage.xaml.cs]]
@DIV
// *************************************************
// 次ページ
// *************************************************
private void NextpageButton_Click(object sender, RoutedEventArgs e)
{
// 最初の次ページへの移動
if (@c:red(App).nextPage == null)
{
@c:red(App).rootFrame.Navigate(typeof(NextPage));
}
// 2回目以降の次ページへの移動
else
{
@c:red(App).rootFrame.Content = @c:red(App).nextPage;
}
}
@END |