private void GetDateRange() { var dateRange = LogFileParser.GetDateRange(ofdFilename.FileNames); dtpFrom.Value = dateRange.GetMinDateTime(); dtpTo.Value = dateRange.GetMaxDateTime(); }
public Main() { InitializeComponent(); _constraints = new Dictionary <int, Constraint>(); _fields = new List <LogFileField>(); _fileParser = new LogFileParser(); _fileParser.FileLineProcessed += FileLineProcessed; dtpFrom.Value = DateTime.Today; dtpTo.Value = DateTime.Now; }