Exemplo n.º 1
0
 public TimeEntryList(Point position, Point size, UIStateHandler ui)
 {
     this.ui        = ui;
     Position       = position;
     Size           = size;
     entries        = ReadEntriesFromDb();
     CursorPosition = 0;
     topVisibleY    = 0;
     window         = new Window(position, size);
 }
Exemplo n.º 2
0
 public TimerWindow(Point position, Point size, UIStateHandler ui, TimeEntryList timeEntryList)
 {
     this.ui            = ui;
     this.timeEntryList = timeEntryList;
     Position           = position;
     Size   = size;
     window = new Window(position, size);
     window.BackgroundColor = ConsoleColor.DarkGreen;
     Timer        = new Stopwatch();
     EnteredLabel = string.Empty;
 }