Esempio n. 1
0
 public UIHistory(ScrumQueue.BussinessLogic.History h)
 {
     InitializeComponent();
     this.HistoryRecord = h;
     this.init();
     this.QueuePos = 0;
 }
Esempio n. 2
0
 public UIHistory(ScrumQueue.BussinessLogic.History h, List <BussinessLogic.History> HistoryItemsQueue, int PositionOfItem)
 {
     InitializeComponent();
     this.HistoryRecord = h;
     this.QueuePos      = PositionOfItem;
     this.init();
     this.HistoryItems = HistoryItemsQueue;
 }
        private void GoNext()
        {
            this.QueuePos++;

            if (this.QueuePos % this.HistoryItems.Count == 0 && this.QueuePos != 0)
                this.QueuePos = 0;

            if (this.HistoryItems == null)
                return;
            if (this.HistoryItems.Count <= 1)
                return;

            this.HistoryRecord = this.HistoryItems[this.QueuePos];
            this.init();
            this.Refresh();
        }