private void FormMain_Load(object sender, System.EventArgs e) { store = new FileStore <Task>(); FilterTasks(DateTime.Today); timerNotification.Enabled = true; }
public AsyncReportGenerationService( IBaseStore taskStore, IAsyncReportGenerator reportGenerator) { Log = LogManager.GetLogger("ReportGeneration"); _taskStore = taskStore; _reportGenerator = reportGenerator; }
protected BaseManager(IBaseStore <TEntity> baseStore) { if (baseStore == null) { throw new ArgumentNullException("baseStore"); } BaseStore = baseStore; }
private void FormMain_Load(object sender, System.EventArgs e) { store = new FileStore <Task>(); var objs = store.GetAll(); taskList.Clear(); foreach (Task task in objs) { if (task.StartDate.Day <= calendar.TodayDate.Day && task.Deadline.Day >= calendar.TodayDate.Day) { AddTask(task); } } }
public ResumeManager(IBaseStore <ResumeApply> baseStore) : base(baseStore) { }
public void FormMain_Load(object sender, System.EventArgs e) { store = new FileStore <Task>(); Filter(DateTime.Today); }
public BaseService(IBaseStore <T> baseStore) { _baseStore = baseStore; }
public BaseService(IBaseStore <T> baseStore) { this.baseStore = baseStore; }