Exemplo n.º 1
0
        public void TestGetProject()
        {
            Init();
            var project = tb.GetProject(pid);

            Assert.IsTrue(!string.IsNullOrEmpty(project.name));
        }
Exemplo n.º 2
0
        private void CheckForARunningTimer()
        {
            var te = tb.GetRunningTimer();

            if (te != null)
            {
                //txtConsole.AppendTimeStampedLine($"Current running timer is {te.description}. Duration {tb.CurrentTimerDuration()}");
                aTimerIsRunning = true;
                StartTimer(dh.GetTrackedProjectById(tb.GetProject(te.pid).id), te.description);
            }
        }