예제 #1
0
        public static ScreenShotEngine GetScreenShotEngine(GeneralSettings genSett, ImageSettings imgSett)
        {

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

            return _screenShotEngine;
        }
예제 #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);
        }