private void selectGPXFileButton_Click(object sender, EventArgs e) { DialogResult dialogResult = this.openFileDialog2.ShowDialog(); if (dialogResult == DialogResult.OK) { String gpsFilePath = openFileDialog2.FileName; gpxFileLabelName.Text = openFileDialog2.SafeFileName; gpsFile = new GpsFile(gpsFilePath); } gpxFileSelected = true; }
public Tagger(GpsFile gpsFile) { this.gpsFile = gpsFile; }