Beispiel #1
0
 private void ApplyButton_Click(object sender, EventArgs e)
 {
     Settings.AlwaysOnTop        = AlwaysOnTopCheckbox.Checked;
     Settings.Opacity            = (double)OpacityTrackBar.Value / OpacityTrackBar.Maximum;
     Settings.HotKeys.PasteStats = HotKeyHelpers.ToString(PasteStatsHotKeyBox.Key);
     Settings.HotKeys.Reset      = HotKeyHelpers.ToString(ResetHotKeyBox.Key);
     Settings.OnSettingsChanged();
 }
 private void ApplyButton_Click(object sender, EventArgs e)
 {
     Settings.AlwaysOnTop        = AlwaysOnTopCheckbox.Checked;
     Settings.Opacity            = (double)OpacityTrackBar.Value / OpacityTrackBar.Maximum;
     Settings.HotKeys.PasteStats = HotKeyHelpers.ToString(PasteStatsHotKeyBox.Key);
     Settings.HotKeys.Reset      = HotKeyHelpers.ToString(ResetHotKeyBox.Key);
     Settings.BufferSize         = ((KeyValuePair <int?, string>)BufferSizeComboBox.SelectedItem).Key;
     Settings.OnSettingsChanged();
 }