private buttonOpenDestinationFilesLocation_Click ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
return | void |
private void buttonOpenDestinationFilesLocation_Click(object sender, EventArgs e)
{
folderBrowserDialog.Description = "Find destination location for new openHistorian 2.0 archive files";
if (Directory.Exists(textBoxDestinationFiles.Text))
folderBrowserDialog.SelectedPath = textBoxDestinationFiles.Text;
if (folderBrowserDialog.ShowDialog(this) == DialogResult.OK)
textBoxDestinationFiles.Text = folderBrowserDialog.SelectedPath;
}