Пример #1
0
        /// <summary>
        /// Show a <see cref="MouseOnlySettingsDlg"/> to change the settings
        /// for this interface.
        /// </summary>
        public override void ChangeSettings()
        {
            var dlg = new MouseOnlySettingsDlg {
                MouseOnlySettings = this.mouseOnlySettings
            };

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                this.mouseOnlySettings = dlg.MouseOnlySettings;
                this.UpdateSettings();
                this.SerializeSettings(this.mouseOnlySettings, this.SettingsFile);
            }
        }
Пример #2
0
 /// <summary>
 /// Show a <see cref="MouseOnlySettingsDlg"/> to change the settings
 /// for this interface.
 /// </summary>
 public override void ChangeSettings()
 {
   var dlg = new MouseOnlySettingsDlg { MouseOnlySettings = this.mouseOnlySettings };
   if (dlg.ShowDialog() == DialogResult.OK)
   {
     this.mouseOnlySettings = dlg.MouseOnlySettings;
     this.UpdateSettings();
     this.SerializeSettings(this.mouseOnlySettings, this.SettingsFile);
   }
 }