Ejemplo n.º 1
0
        public HistoryItem(HistoryType type, string text, HistoryLook look)
        {
            #if DEBUG
            if (look == null) throw new ArgumentNullException();
            #endif

            _type = type;
            _text = text;
            _look = look;
        }
Ejemplo n.º 2
0
 public HistoryLook(HistoryLook copy)
 {
     Copy(copy);
 }
Ejemplo n.º 3
0
 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;
 }