private void InitIndex(int index) { int num = 1 + index; int shapeId = 1024 + num; EscherSpRecord shape = this.m_shape; shape.ShapeId = shapeId; EscherOptRecord options = this.m_options; EscherSimpleProperty escherSimpleProperty = (EscherSimpleProperty)options.getEscherPropertyByID(16644); escherSimpleProperty.PropertyValue = num; }
public override bool Equals(object o) { if (this == o) { return(true); } if (!(o is EscherSimpleProperty)) { return(false); } EscherSimpleProperty escherSimpleProperty = (EscherSimpleProperty)o; if (this.m_propertyValue != escherSimpleProperty.m_propertyValue) { return(false); } if (this.Id != escherSimpleProperty.Id) { return(false); } return(true); }