示例#1
0
        private void AddFreeTimerRow(TaskHistory th)
        {
            RowControl rowControl = new RowControl(th);

            rowControl.AddListener(this);
            FreeTimers.Children.Add(rowControl);
        }
示例#2
0
        private void AddFreeTimerRow(int id)
        {
            TaskHistory th = new TaskHistory();

            th.ExpectedTime = 10000000;
            th.Id           = id;
            th.Summary      = freeTimerPopup.tbTaskName.Text;
            RowControl rowControl = new RowControl(th);

            rowControl.TimerType = TimerType.Free;

            rowControl.AddListener(this);
            FreeTimers.Children.Add(rowControl);
        }