diff --git a/SandbarWorkbench/Trips/frmImportTrip.Designer.cs b/SandbarWorkbench/Trips/frmImportTrip.Designer.cs index a9e2307..433360c 100644 --- a/SandbarWorkbench/Trips/frmImportTrip.Designer.cs +++ b/SandbarWorkbench/Trips/frmImportTrip.Designer.cs @@ -86,10 +86,10 @@ private void InitializeComponent() this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // - // textBox1 + // txtCSVFile // this.txtCSVFile.Location = new System.Drawing.Point(90, 164); - this.txtCSVFile.Name = "textBox1"; + this.txtCSVFile.Name = "txtCSVFile"; this.txtCSVFile.ReadOnly = true; this.txtCSVFile.Size = new System.Drawing.Size(314, 20); this.txtCSVFile.TabIndex = 3; @@ -112,6 +112,7 @@ private void InitializeComponent() this.cmdHelp.TabIndex = 9; this.cmdHelp.Text = "Help"; this.cmdHelp.UseVisualStyleBackColor = true; + this.cmdHelp.Click += new System.EventHandler(this.cmdHelp_Click); // // cmdOK // diff --git a/SandbarWorkbench/Trips/frmImportTrip.cs b/SandbarWorkbench/Trips/frmImportTrip.cs index 1b4da4e..85ef567 100644 --- a/SandbarWorkbench/Trips/frmImportTrip.cs +++ b/SandbarWorkbench/Trips/frmImportTrip.cs @@ -237,5 +237,10 @@ static int GetFieldIndex(string[] headers, string fieldName) throw new ArgumentException(String.Format("Cannot find the column called '{0}'.", fieldName)); return idx; } + + private void cmdHelp_Click(object sender, EventArgs e) + { + Helpers.OnlineHelp.FormHelp(this.Name); + } } }