Ejemplo n.º 1
0
 private void SettingsWindowSettingsChanged(CrosshairSettingsModel settings, bool monitorChanged)
 {
     if (monitorChanged)
     {
         RedisplayMainWindowForMonitorChange();
     }
     RedisplayCrosshair();
 }
Ejemplo n.º 2
0
        public CrosshairSettingsWindow(CrosshairSettingsModel model)
        {
            _settingsModel = model;
            InitializeComponent();
            LoadImageChoices();
            LoadMonitorChoices();

            LoadDefaultValues();

            Assembly assembly = Assembly.GetExecutingAssembly();

            this.Title = string.Format("Virtual Crosshair v{0} Settings", assembly.GetName().Version);
            FireSettingsChangedEvent(monitorChanged: true);
        }