Exemple #1
0
        public void AddEntry(TimeEntryViewModel entry)
        {
            this.TimeEntries.Add(entry);

            WriteToFileAsync();

            RefreshCurrentEntry();
        }
Exemple #2
0
        private void RefreshCurrentEntry()
        {
            var entry = new TimeEntryViewModel();

            entry.StartTime.RoundToNearest15Minutes();
            entry.EndTime.RoundToNearest15Minutes();

            this.CurrentEntry = entry;
        }
Exemple #3
0
        private void RefreshCurrentEntry()
        {
            var entry =new TimeEntryViewModel();
              entry.StartTime.RoundToNearest15Minutes();
              entry.EndTime.RoundToNearest15Minutes();

              this.CurrentEntry = entry;
        }
Exemple #4
0
        public void AddEntry(TimeEntryViewModel entry)
        {
            this.TimeEntries.Add(entry);

              WriteToFileAsync();

              RefreshCurrentEntry();
        }