private static ATImportExportedFolderLocation editFolderLocation(ATImportExportedFolderLocation atExportFolderLocation) { ATImportExportedFolderLocationDialog aTImportExportedFolderLocationDialog = new ATImportExportedFolderLocationDialog(atExportFolderLocation); return(aTImportExportedFolderLocationDialog.ShowDialog() == DialogResult.OK && !string.IsNullOrWhiteSpace(aTImportExportedFolderLocationDialog.ATImportExportedFolderLocation.FolderPath) ? aTImportExportedFolderLocationDialog.ATImportExportedFolderLocation : null); }
private static ATImportExportedFolderLocation EditFolderLocation(ATImportExportedFolderLocation atExportFolderLocation) { ATImportExportedFolderLocation atiefl = null; using (ATImportExportedFolderLocationDialog aTImportExportedFolderLocationDialog = new ATImportExportedFolderLocationDialog(atExportFolderLocation)) { if (aTImportExportedFolderLocationDialog.ShowDialog() == DialogResult.OK && !string.IsNullOrWhiteSpace(aTImportExportedFolderLocationDialog.ATImportExportedFolderLocation.FolderPath)) atiefl = aTImportExportedFolderLocationDialog.ATImportExportedFolderLocation; } return atiefl; }