Ooui-tws-port/Samples/Navigation/NavigationFirstPage.xaml.cs

30 lines
607 B
C#

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Samples.Navigation
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class NavigationFirstPage : ContentPage
{
public NavigationFirstPage ()
{
InitializeComponent ();
}
private void Button_Clicked(object sender, EventArgs e)
{
(this.Parent as NavigationPage).PushAsync(new Navigation.NavigationSecondPage());
}
}
}