Spring – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 using System;
2 using System.Windows.Forms;
3 using System.Xml.Serialization;
4 using SpringCombos.Properties;
5  
6 namespace SpringCombos
7 {
8 [Serializable, XmlRoot(ElementName = "KeyboardCombo")]
9 public class KeyboardCombo : Combo
10 {
11 #region Public Enums, Properties and Fields
12  
13 [XmlElement(ElementName = "Key")]
14 public Keys Keys { get; set; }
15  
16 [XmlElement(ElementName = "ComboAction")]
17 public ComboAction ComboAction { get; set; }
18  
19 #endregion
20  
21 #region Constructors, Destructors and Finalizers
22  
23 [UsedImplicitly]
24 public KeyboardCombo()
25 {
26 }
27  
28 public KeyboardCombo(KeyEventArgs args, ComboAction comboAction) : this(args.KeyData) =>
29 ComboAction = comboAction;
30  
31 private KeyboardCombo(Keys args) => Keys = args;
32  
33 #endregion
34 }
35 }