Compare commits
No commits in common. "86a3e56a272b095c6f60d57d5809bb06606bac2e" and "3102596a3d9642331471f77dd80054f1c3b3956c" have entirely different histories.
86a3e56a27
...
3102596a3d
@ -1520,7 +1520,7 @@ namespace VEPROMS
|
||||
{
|
||||
splitContainer3.Panel2Collapsed = false;
|
||||
progressSteps1.Items.Add(siOrphDatRecs);
|
||||
lblAdmToolProgressType.Text = "Deleting: ";
|
||||
lblAdmToolProgressType.Text = "Repairing: ";
|
||||
progressSteps1.Visible = true;
|
||||
progressSteps1.Refresh();
|
||||
}
|
||||
@ -1757,7 +1757,7 @@ namespace VEPROMS
|
||||
|
||||
if (swDeleteFolder.Value)
|
||||
{
|
||||
if (FlexibleMessageBox.Show(this, "Are you sure you want to remove the selected folders and their contents?", "Confirm Folder Deletion", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
if (FlexibleMessageBox.Show(this, "You sure you want to remove the selected folders and their contents?", "Confirm Folder Deletion", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
{
|
||||
txtProcess.AppendText("Deleting Folders...");
|
||||
|
||||
@ -1804,8 +1804,6 @@ namespace VEPROMS
|
||||
|
||||
private void ProcessDelete(List<DocVersionInfo> foldersToDelete, List<FolderInfo> emptyFoldersToDelete)
|
||||
{
|
||||
int foldersDeleted = 0;
|
||||
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(pStart.ToString("MM/dd/yyyy @ HH:mm"));
|
||||
@ -1825,7 +1823,6 @@ namespace VEPROMS
|
||||
if (deletionSuccessful)
|
||||
{
|
||||
txtProcess.AppendText($"Successfully deleted folder: {folderName} (ID: {itemID})");
|
||||
foldersDeleted += 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1850,20 +1847,14 @@ namespace VEPROMS
|
||||
if (deletionSuccessful)
|
||||
{
|
||||
txtProcess.AppendText($"Successfully deleted folder: {folderName} (ID: {itemID})");
|
||||
foldersDeleted += 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
txtProcess.AppendText($"Failed to delete folder: {folderName} (ID: {itemID})");
|
||||
}
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
|
||||
}
|
||||
|
||||
|
||||
txtProcess.AppendText($"Folder deletion process completed, {foldersDeleted} folders have been deleted. ");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
|
||||
//Run Repair
|
||||
int prgStpIdx = -1;
|
||||
StepProgress(++prgStpIdx, 50);
|
||||
@ -1873,7 +1864,7 @@ namespace VEPROMS
|
||||
//rebuild
|
||||
ResetDelTV(true);
|
||||
|
||||
MessageBox.Show($"Folder deletion completed, {foldersDeleted} folders have been deleted.", "Delete Folders");
|
||||
MessageBox.Show("Folder Deletion Completed", "Delete Folders");
|
||||
ClearStepProgress();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user