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;
|
using Biblioteque_de_Class;
|
||||||
|
|
||||||
public partial class ConnecPage : ContentPage
|
namespace notus;
|
||||||
{
|
|
||||||
public ConnecPage()
|
public partial class ConnecPage : ContentPage
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
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