25 lines
550 B
C#
25 lines
550 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using Xamarin.Forms;
|
|
using Xamarin.Forms.Xaml;
|
|
|
|
namespace MobileApp1.Views
|
|
{
|
|
[XamlCompilation(XamlCompilationOptions.Compile)]
|
|
public partial class LogoutPage : ContentPage
|
|
{
|
|
public LogoutPage()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private async void button1_Clicked(object sender, EventArgs e)
|
|
{
|
|
await Task.Run(() =>
|
|
{
|
|
ContentPageHelper.SetMainPage(this, new LoginPage());
|
|
});
|
|
}
|
|
|
|
}
|
|
} |