Beispiel #1
0
 private void KeyModCopyToClipboard_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (locked)
     {
         return;
     }
     PreferenceManager.Database.CopyToClipboardKeyModifier = KeyCodeConverter.GetAltKey(KeyModCopyToClipboard.SelectedIndex);
 }
Beispiel #2
0
 private void KeyModCaptureCombo_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (locked)
     {
         return;
     }
     PreferenceManager.Database.ScreenCopyColorKeyModifier = KeyCodeConverter.GetAltKey(KeyModCaptureCombo.SelectedIndex);
 }
 public override void Deserialize(DataReader reader)
 {
     ScreenCopyColorKeyModifier = KeyCodeConverter.GetAltKey(reader.ReadInt32());
     ScreenCopyColorKey         = KeyCodeConverter.GetKey(reader.ReadInt32());
     CopyToClipboardKey         = KeyCodeConverter.GetKey(reader.ReadInt32());
     CopyToClipboardKeyModifier = KeyCodeConverter.GetAltKey(reader.ReadInt32());
     ColorSize              = reader.ReadInt32();
     ThemeColor             = (JColorStyle)reader.ReadInt32();
     Theme                  = (JThemeStyle)reader.ReadInt32();
     FirstTime              = reader.ReadBoolean();
     AutoCopyToClipboard    = reader.ReadBoolean();
     StayOnTop              = reader.ReadBoolean();
     ClipboardFormatingType = reader.ReadInt32();
     FormatTemplate         = reader.ReadString();
 }