Пример #1
0
 /// <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);
 }
Пример #2
0
        /// <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();
        }
Пример #3
0
        /// <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();
        }