Пример #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;
        }
Пример #2
0
 public HistoryLook(HistoryLook copy)
 {
     Copy(copy);
 }
Пример #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;
 }