private attachConfigButton_Click ( object sender, |
||
sender | object | |
e | ||
Результат | void |
private void attachConfigButton_Click(object sender, EventArgs e)
{
DialogResult result = configFileOpenDialog.ShowDialog(); // Show the dialog.
if (result == DialogResult.OK) // Test result.
{
configFileTextBox.Text = configFileOpenDialog.FileName;
}
ValidateConfigFile();
}