Skip to content

Instantly share code, notes, and snippets.

View 2j2e's full-sized avatar

Eugene Zharkov 2j2e

View GitHub Profile
@2j2e
2j2e / MetroLauncherVisibleDetection.cs
Last active December 15, 2015 02:19
Windows 8 Launcher visibility handling through the specific actions subscribing
public class Launcher
{
private readonly IAppVisibilityEvents _appVisibilityEvents;
private readonly Thread _updater;
public Launcher(IAppVisibilityEvents appVisibilityEvents)
{
_appVisibilityEvents = appVisibilityEvents;
_updater = new Thread(Update);