public MouseMapWindow(TouchMouseEventManager touchMouseEventManager) : this() { _touchMouseEventManager = touchMouseEventManager; Loaded += MainWindow_Loaded; Closed += MainWindow_Closed; }
public TouchZonesConfigurationWindow(TouchMouseEventManager touchMouseEventManager, TouchZoneProvider touchZoneProvider) : this() { _touchMouseEventManager = touchMouseEventManager; TouchZones = touchZoneProvider.Get(); Loaded += MainWindow_Loaded; Closed += MainWindow_Closed; }
public SingleInstanceManager() { IsSingleInstance = true; _touchConfiguration = new TouchConfiguration(); var stateMachine = new StateMachine(_touchConfiguration); _touchZoneProvider = new TouchZoneProvider(stateMachine, _touchConfiguration); _touchMouseEventManager = new TouchMouseEventManager(stateMachine, _touchZoneProvider); }