private UserSettings CreateNewUserSettings()
        {
            using var userSettingsForm = new UserSettingsForm();
            //userSettingsForm.SetUserSettings(null);
            var result = userSettingsForm.ShowDialog(this);

            if (result == DialogResult.OK)
            {
                return(userSettingsForm.GetUserSettings());
            }
            return(null);
        }
        private void _settingsButton_Click(object sender, EventArgs e)
        {
            using var userSettingsForm = new UserSettingsForm();
            userSettingsForm.SetUserSettings(GetUserSettings());
            var result = userSettingsForm.ShowDialog(this);

            if (result == DialogResult.OK)
            {
                var newUserSettings = userSettingsForm.GetUserSettings();
                SaveUserSettings(newUserSettings);
                OnRefreshSettings(newUserSettings);
            }
        }