Esempio n. 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);
            }
        }
Esempio n. 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);
   }
 }