private buttonOpenSourceFilesLocation_Click ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
return | void |
private void buttonOpenSourceFilesLocation_Click(object sender, EventArgs e)
{
folderBrowserDialog.Description = "Find source location for openHistorian 1.0 / DatAWare archive files";
if (Directory.Exists(textBoxSourceFiles.Text))
folderBrowserDialog.SelectedPath = textBoxSourceFiles.Text;
if (folderBrowserDialog.ShowDialog(this) == DialogResult.OK)
textBoxSourceFiles.Text = folderBrowserDialog.SelectedPath;
}