Ejemplo n.º 1
0
        public ManualTime()
        {
            InitializeComponent();
            string[] files = Directory.GetFiles(Program.DataPath + "\\TaskData\\");

            foreach (String s in files)
            {
                days.Add(TaskTracker.LoadDay(s));
            }

            Default();
        }
Ejemplo n.º 2
0
        private void DataVisualizer_Load(object sender, EventArgs e)
        {
            string[] files = Directory.GetFiles(Program.DataPath + "\\TaskData\\");

            foreach (String s in files)
            {
                days.Add(TaskTracker.LoadDay(s));
            }

            foreach (Day d in days)
            {
                tasks.AddRange(d.Tasks);
            }

            CalculateOrgTimeUtil();
        }
Ejemplo n.º 3
0
        private void LogBrowser_Load(object sender, EventArgs e)
        {
            this.ClientSize = new Size(this.ClientSize.Width + 1, this.ClientSize.Height + 1);
            this.dataGrid.AutoGenerateColumns = true;

            string[] files = Directory.GetFiles(Program.DataPath + "\\TaskData\\");

            foreach (String s in files)
            {
                days.Add(TaskTracker.LoadDay(s));
            }

            dataGrid.DataSource = days;
            dataGrid.Sort(this.dataGrid.Columns["DayID"], ListSortDirection.Descending);
            //dataGrid.Columns["DayID"].Visible = false;
        }