navigation et connexion qui fonctionne
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
parent
87533de711
commit
b113d34ecc
@ -1,9 +1,28 @@
|
||||
namespace notus;
|
||||
|
||||
public partial class ConnecPage : ContentPage
|
||||
{
|
||||
public ConnecPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in new issue