Пример #1
0
        public void ListRefresh()
        {
            TaskDB refresh = new TaskDB();

            refresh.GetTasks(lstComplete, true);
            refresh.GetTasks(lstTasks, false);
        }
Пример #2
0
        public MainWindow()
        {
            InitializeComponent();
            FormRefresh();
            lblDate.Content = DateTime.Now;

            TaskDB currentTasks = new TaskDB();

            currentTasks.GetTasks(lstTasks, false);
            currentTasks.GetTasks(lstComplete, true);

            lstComplete.ItemContainerGenerator.StatusChanged += new EventHandler(ContainerStatusChanged);
        }