public override bool Equals(object obj) { if (obj == null) { return(false); } Keybind c = obj as Keybind; if (c == null) { return(false); } if (this.FirstKey == c.FirstKey && this.SecondKey == c.SecondKey) { return(true); } return(false); }
public Control() { this.keybind = new Keybind(); this.command = new Command(); this.Comment = ""; }