Skip to content

Commit

Permalink
Added check at start of each form as to users presence.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tohaker committed Apr 12, 2018
1 parent 207aeba commit f636ce0
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions VehicleApp/VehicleApp/TobiiSettings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions VehicleApp/VehicleApp/TobiiSettings.cs
Original file line number Diff line number Diff line change
@@ -58,6 +58,8 @@ protected override void OnLoad(EventArgs e)
{
MessageBox.Show("Could not connect to EyeX engine.");
}

UpdateUserPresence(_eyeXHost.UserPresence);
}

private void EyeXHost_UserPresenceChanged(object sender, EngineStateValue<UserPresence> e)
2 changes: 2 additions & 0 deletions VehicleApp/VehicleApp/WelcomeScreen.cs
Original file line number Diff line number Diff line change
@@ -53,6 +53,8 @@ protected override void OnLoad(EventArgs e)
{
MessageBox.Show("Could not connect to EyeX engine.");
}

UpdateUserPresence(_eyeXHost.UserPresence);
}

private void EyeXHost_UserPresenceChanged(object sender, EngineStateValue<UserPresence> e)

0 comments on commit f636ce0

Please sign in to comment.