public HistoryItem(HistoryType type, string text, HistoryLook look) { #if DEBUG if (look == null) throw new ArgumentNullException(); #endif _type = type; _text = text; _look = look; }
public HistoryLook(HistoryLook copy) { Copy(copy); }
public void Copy(HistoryLook copy) { _custom = copy._custom; _font = copy._font; _textColor = copy._textColor; _textAlign = copy._textAlign; _marginLeft = copy._marginLeft; _marginTop = copy._marginTop; _marginRight = copy._marginRight; _marginBottom = copy._marginBottom; _backgroundColor1 = copy._backgroundColor1; _backgroundColor2 = copy._backgroundColor2; }