Пример #1
0
 public myTreeNode(string sName, NodeObjectType type, object oTag)
 {
     this.Name = sName;
     nodeType  = type;
     this.Text = sName;
     this.Tag  = oTag;
 }
Пример #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ NodeObjectType.GetHashCode();
         hashCode = (hashCode * 397) ^ RecycleBinEmptiedSuccessfully.GetHashCode();
         return(hashCode);
     }
 }
Пример #3
0
 public bool Equals(RecycleBinEventArgs?other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(base.Equals(other) && NodeObjectType.Equals(other.NodeObjectType) && RecycleBinEmptiedSuccessfully == other.RecycleBinEmptiedSuccessfully);
 }
 public bool Equals(RecycleBinEventArgs other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(base.Equals(other) && AllPropertyData.Equals(other.AllPropertyData) && Files.Equals(other.Files) && Ids.Equals(other.Ids) && NodeObjectType.Equals(other.NodeObjectType) && RecycleBinEmptiedSuccessfully == other.RecycleBinEmptiedSuccessfully);
 }