public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (Productid != 0) { hash ^= Productid.GetHashCode(); } if (Productname.Length != 0) { hash ^= Productname.GetHashCode(); } if (Unitprice != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Unitprice); } if (Oldunitprice != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Oldunitprice); } if (Quantity != 0) { hash ^= Quantity.GetHashCode(); } if (Pictureurl.Length != 0) { hash ^= Pictureurl.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
private void clear_Click(object sender, EventArgs e) { ProductID.Clear(); Productname.Clear(); Quantity.Clear(); }