Ejemplo n.º 1
0
 public AddName(bool envTab, LoadedSettings loadedSettings)
 {
     InitializeComponent();
     _isEnv = envTab;
     _loadedSettings = loadedSettings;
     textLabel.Text = envTab ? ENV_TEXT : TOOL_TEXT;
 }
Ejemplo n.º 2
0
 public AddName(bool envTab, LoadedSettings loadedSettings)
 {
     InitializeComponent();
     _isEnv          = envTab;
     _loadedSettings = loadedSettings;
     textLabel.Text  = envTab ? ENV_TEXT : TOOL_TEXT;
 }
Ejemplo n.º 3
0
        /// <summary>
        /// Main Class for RegistryMonitor.
        /// </summary>
        public Form1()
        {
            if (_allowLogging)
            {
                ExceptionlessClient.Default.Register(false);
                ExceptionlessClient.Default.Configuration.SetUserIdentity(Environment.MachineName);
                ExceptionlessClient.Default.Configuration.UseSessions();
            }

            InitializeComponent();

            _loadedSettings = new LoadedSettings();

            LoadMenu();
            _hkManager = new HotKeyManager();
            LoadGlobalHotkey();
            _menuStrip = menuStrip;

            // Gets the location of the systray icon
            _superNotifyIcon = new SuperNotifyIcon {
                NotifyIcon = Icon
            };
            _locationOfIcon = _superNotifyIcon.GetLocation();

            _settingsAlreadyRunning = false;
        }
Ejemplo n.º 4
0
        /// <summary>
        /// All settings for RegistryMonitor.
        /// </summary>
        /// <param name="loadedSettings"></param>
        public Settings(LoadedSettings loadedSettings)
        {
            InitializeComponent();

            _loadedSettings = loadedSettings;

            tabControl.SelectedTab = tabGeneral;
        }
Ejemplo n.º 5
0
        /// <summary>
        /// All settings for RegistryMonitor.
        /// </summary>
        /// <param name="loadedSettings"></param>
        public Settings(LoadedSettings loadedSettings)
        {
            InitializeComponent();

            _loadedSettings = loadedSettings;

            tabControl.SelectedTab = tabGeneral;
        }
Ejemplo n.º 6
0
        /// <summary>
        /// Main Class for RegistryMonitor.
        /// </summary>
        public Form1()
        {
            if (_allowLogging)
            {
                ExceptionlessClient.Default.Register(false);
                ExceptionlessClient.Default.Configuration.SetUserIdentity(Environment.MachineName);
                ExceptionlessClient.Default.Configuration.UseSessions();
            }

            InitializeComponent();

            _loadedSettings = new LoadedSettings();

            LoadMenu();
            _hkManager = new HotKeyManager();
            LoadGlobalHotkey();
            _menuStrip = menuStrip;

            // Gets the location of the systray icon
            _superNotifyIcon = new SuperNotifyIcon {NotifyIcon = Icon};
            _locationOfIcon = _superNotifyIcon.GetLocation();

            _settingsAlreadyRunning = false;
        }
Ejemplo n.º 7
0
 public AddRegistryKey(LoadedSettings loadedSettings)
 {
     InitializeComponent();
     _loadedSettings = loadedSettings;
 }
Ejemplo n.º 8
0
 public AddRegistryKey(LoadedSettings loadedSettings)
 {
     InitializeComponent();
     _loadedSettings = loadedSettings;
 }