示例#1
0
        private async void More_Clicked(object sender, EventArgs e)
        {
            if (!DoOnce())
            {
                return;
            }
            var selection = await DisplayActionSheet(AppResources.Options, AppResources.Cancel,
                                                     null, AppResources.PasswordHistory);

            if (selection == AppResources.PasswordHistory)
            {
                var page = new GeneratorHistoryPage();
                await Navigation.PushModalAsync(new Xamarin.Forms.NavigationPage(page));
            }
        }
示例#2
0
 private async void History_Clicked(object sender, EventArgs e)
 {
     var page = new GeneratorHistoryPage();
     await Navigation.PushModalAsync(new Xamarin.Forms.NavigationPage(page));
 }