/// <summary> /// Processes the file. /// </summary> /// <param name="batSummary">The bat summary.</param> /// <param name="fileName">Name of the file.</param> /// <param name="gpxHandler">The GPX handler.</param> /// <returns></returns> public String ProcessFile(BatSummary batSummary, string fileName, GpxHandler gpxHandler) { mBatSummary = batSummary; OutputString = ""; if (fileName.ToUpper().EndsWith(".TXT")) { OutputString = ProcessLabelOrManualFile(fileName, gpxHandler); } return(OutputString); }
/// <summary> /// Initializes a new instance of the <see cref="MainWindow"/> class. /// </summary> public MainWindow() { InitializeComponent(); Build = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); //windowTitle = "Bat Log File Processor " + Build; this.Title = windowTitle + Build; this.InvalidateArrange(); fileBrowser = new FileBrowser(); fileProcessor = new FileProcessor(); batSummary = new BatSummary(); }