public override bool Equals(object obj) { if (obj.GetType() == typeof(PagePowerSignPublic)) { PagePowerSignPublic compare = (PagePowerSignPublic)obj; return(compare.KeyValue() == this.KeyValue()); } else { return(base.Equals(obj)); } }