예제 #1
0
        private static ATImportExportedFolderLocation editFolderLocation(ATImportExportedFolderLocation atExportFolderLocation)
        {
            ATImportExportedFolderLocationDialog aTImportExportedFolderLocationDialog = new ATImportExportedFolderLocationDialog(atExportFolderLocation);

            return(aTImportExportedFolderLocationDialog.ShowDialog() == DialogResult.OK &&
                   !string.IsNullOrWhiteSpace(aTImportExportedFolderLocationDialog.ATImportExportedFolderLocation.FolderPath) ?
                   aTImportExportedFolderLocationDialog.ATImportExportedFolderLocation : null);
        }
예제 #2
0
 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;
 }