Ejemplo n.º 1
0
        public History()
        {
            _tags = new SwitchList <CommandTag>();
            tags  = _tags;

            Reset();

            savedNode = head.Prev;
        }
Ejemplo n.º 2
0
        public TabBar(SwitchList <T> list, StringOfDelegate <T> stringOf, StringOfDelegate <T> hintOf)
        {
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
            SetStyle(ControlStyles.ResizeRedraw, true);

            this.stringOf = stringOf;
            this.hintOf   = hintOf;
            TabStop       = false;

            tempPoints3 = new Point[3];
            tempPoints5 = new Point[5];
            tempPoints4 = new Point[4];
            SetFont(FontFamily.GenericMonospace, 10.25f);

            arrowTimer          = new Timer();
            arrowTimer.Interval = 150;
            arrowTimer.Tick    += OnArrowTick;

            List = list;
        }
Ejemplo n.º 3
0
 public TabBar(SwitchList <T> list, StringOfDelegate <T> stringOf) : this(list, stringOf, null)
 {
 }
Ejemplo n.º 4
0
 public KeyMapBuilder(KeyMap map, SwitchList <NamedAction> list)
 {
     this.map  = map;
     this.list = list;
 }