Ejemplo n.º 1
0
        public static ScreenShotEngine GetScreenShotEngine(GeneralSettings genSett, ImageSettings imgSett)
        {

            LazyInitializer.EnsureInitialized(ref _screenShotEngine,
                () => new ScreenShotEngine(genSett, imgSett));

            return _screenShotEngine;
        }
Ejemplo n.º 2
0
        private ScreenShotEngine(GeneralSettings genSett, ImageSettings imgSett)
        {
            _generalSettings = genSett;
            _imageSettings = imgSett;

            //todo: описание создания HotkeyManager
            //HotkeyManager = new HotkeyManager();
            //HotkeyManager.HotkeyTrigger += _hotkeyManager_HotkeyTrigger;
            //HotkeyManager.UpdateHotkeys(applicationConfig.Hotkeys);
        }