Example #1
0
        private void GetTasksStatus()
        {
            TaskManagement taskMgt      = new TaskManagement();
            Boolean        currentCheck = false;

            if (this.ShowCurrentTasks.IsChecked == true)
            {
                currentCheck = true;
            }
            datagridTask.ItemsSource = taskMgt.GetTasksByStatus(lstStatus, currentCheck).GetAllRecords();
            datagridTask.Items.Refresh();
        }