Administrator 3 months ago
parent
commit
a3c661507b
  1. 3
      ProfilePage.xaml.cs

3
ProfilePage.xaml.cs

@ -23,6 +23,9 @@ public partial class ProfilePage : ContentPage
App.GlobalData.LogNo = false; App.GlobalData.LogNo = false;
await TcpServer.tcpClient.CloseAsync(""); await TcpServer.tcpClient.CloseAsync("");
string sql = "UPDATE Users SET LogNo = 0 WHERE User='" + App.GlobalData.User + "';";
AppModels.Updata(sql);
var logpage = new View.LogPage(); var logpage = new View.LogPage();
await Navigation.PushModalAsync(logpage); await Navigation.PushModalAsync(logpage);
} }

Loading…
Cancel
Save