/// <summary>
        /// Fit to specified monitor
        /// </summary>
        private void UpdateMonitorFitting()
        {
            if (fitToMonitor < 0)
            {
                return;
            }

            int monitors           = uniWinCore.GetMonitorCount();
            int targetMonitorIndex = fitToMonitor;

            if (monitors <= targetMonitorIndex)
            {
                targetMonitorIndex = monitors - 1;
            }

            if (targetMonitorIndex >= 0)
            {
                uniWinCore.FitToMonitor(targetMonitorIndex);
            }
        }
        /// <summary>
        /// Fit to specified monitor
        /// </summary>
        private void UpdateMonitorFitting()
        {
            if (!_shouldFitMonitor)
            {
                return;
            }

            int monitors           = uniWinCore.GetMonitorCount();
            int targetMonitorIndex = _monitorToFit;

            if (targetMonitorIndex < 0)
            {
                targetMonitorIndex = 0;
            }
            if (monitors <= targetMonitorIndex)
            {
                targetMonitorIndex = monitors - 1;
            }

            if (targetMonitorIndex >= 0)
            {
                uniWinCore.FitToMonitor(targetMonitorIndex);
            }
        }