public bool EqualsValue(RTFBorderStyle b) { if (b == this) { return(true); } if (b == null) { return(false); } if (b._Bottom != this._Bottom || b._Color != this._Color || b._Left != this._Left || b._Right != this._Right || b._Style != this._Style || b._Top != this._Top || b._Thickness != this._Thickness) { return(false); } else { return(true); } }
/// <summary> /// 复制对象 /// </summary> /// <returns>复制品</returns> public RTFBorderStyle Clone() { RTFBorderStyle b = new RTFBorderStyle(); b._Bottom = this._Bottom; b._Color = this._Color; b._Left = this._Left; b._Right = this._Right; b._Style = this._Style; b._Top = this._Top; b._Thickness = this._Thickness; return(b); }
/// <summary> /// 复制对象 /// </summary> /// <returns>复制品</returns> public RTFBorderStyle Clone() { var b = new RTFBorderStyle(); b._Bottom = _Bottom; b._Color = _Color; b._Left = _Left; b._Right = _Right; b._Style = _Style; b._Top = _Top; b._Thickness = _Thickness; return(b); }
/// <summary> /// 复制对象 /// </summary> /// <returns>复制品</returns> public RTFBorderStyle Clone() { RTFBorderStyle b = new RTFBorderStyle(); b._Bottom = this._Bottom; b._Color = this._Color; b._Left = this._Left; b._Right = this._Right; b._Style = this._Style; b._Top = this._Top; b._Thickness = this._Thickness; return b; }
public bool EqualsValue(RTFBorderStyle b) { if (b == this) { return true; } if (b == null) { return false; } if (b._Bottom != this._Bottom || b._Color != this._Color || b._Left != this._Left || b._Right != this._Right || b._Style != this._Style || b._Top != this._Top || b._Thickness != this._Thickness ) { return false; } else { return true; } }
public RTFBorderStyle Clone() { var b = new RTFBorderStyle { Bottom = Bottom, _color = _color, Left = Left, Right = Right, _style = _style, Top = Top, Thickness = Thickness }; return b; }
public bool EqualsValue(RTFBorderStyle b) { if (b == this) { return true; } if (b == null) { return false; } return b.Bottom == Bottom && b._color == _color && b.Left == Left && b.Right == Right && b._style == _style && b.Top == Top && b.Thickness == Thickness; }