You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
582 B
28 lines
582 B
using Biblioteque_de_Class;
|
|
|
|
namespace notus;
|
|
|
|
public partial class ConnecPage : ContentPage
|
|
{
|
|
string mail = "";
|
|
string MDP = "";
|
|
|
|
public ConnecPage()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private async void Valid_Clicked(object sender, EventArgs e)
|
|
{
|
|
mail = Mail.Text;
|
|
MDP = Password.Text;
|
|
if ((Application.Current as App).db.SearchUser(mail, MDP))
|
|
{
|
|
await Navigation.PushAsync(new RecherPage());
|
|
}
|
|
else
|
|
{
|
|
ResultSearch.IsVisible = true;
|
|
}
|
|
}
|
|
} |