private void attachButtonConfig_Validating(object sender, CancelEventArgs e) { ValidateConfigFile(); }