示例#1
0
        public void RefreshMainWindow()
        {
            ToDo.Clear();
            Doing.Clear();
            Backlog.Clear();
            Done.Clear();

            var result = readDbDataToDisplay();

            foreach (var i in result)
            {
                if (i.States == BackLog.State.IsToDo)
                {
                    ToDo.Add(i);
                }
                else if (i.States == BackLog.State.IsDoing)
                {
                    Doing.Add(i);
                }
                else if (i.States == BackLog.State.Backlog)
                {
                    Backlog.Add(i);
                }
                else
                {
                    Done.Add(i);
                }
            }
        }
示例#2
0
 /// <summary>
 /// Bruges til at restte viewet tilbage til normalen så der ikke står noget i input felterne
 /// </summary>
 public void SprintReset()
 {
     SprintBacklog.Clear();
     Backlog.Clear();
     Sprint_GoalVM = "";
     SletState     = "Collapsed";
     CreateCommand = new RelayCommand(Create);
     Load();
 }