public bool Equals(KeyInfor other) { if (other == null) { return(false); } if (_alt != other._alt) { return(false); } if (_ctrl != other._ctrl) { return(false); } if (_shift != other._shift) { return(false); } if (_key != other._key) { return(false); } return(true); }
public override void Start() { base.Start(); for (int i = 0; i < keyinfor.Length; i++) { keyinfor[i] = new KeyInfor(); } }
public override bool Equals(object obj) { if (obj == null) { return(false); } KeyInfor objAsPart = obj as KeyInfor; if (objAsPart == null) { return(false); } else { return(Equals(objAsPart)); } }