예제 #1
0
파일: MainForm.cs 프로젝트: batuZ/Samples
 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);
 }