Added titles to message boxes used during the check of the RO.fst B2017-125
Add LoadingFigures to save status of loading the figures during Update RO Values B2017-125 Added checks to see if the RO Figures need loaded B2017-125 Added checks to see if the RO Figures need loaded and set the status during the loading figures part of updating RO values B2017-125 Make the progress bar text visible B2017-125 Added titles to message boxes used during the check of the RO.fst and make the progress bar text visible B2017-125
This commit is contained in:
@@ -1787,7 +1787,7 @@ namespace Volian.Controls.Library
|
||||
// to modify code to get which one (when there is more than one)
|
||||
if (MyDVI.DocVersionAssociations.Count < 1)
|
||||
{
|
||||
MessageBox.Show("Error Updating ro.fst. No associated ro.fst");
|
||||
MessageBox.Show("Error Updating ro.fst. No associated ro.fst", "No ROs associated"); //B2017-125 added title to messagebox
|
||||
FinalProgressBarMessage = "No ROs associated";
|
||||
return;
|
||||
}
|
||||
@@ -1795,20 +1795,20 @@ namespace Volian.Controls.Library
|
||||
string rofstPath = roFstInfo.MyRODb.FolderPath + @"\ro.fst";
|
||||
if (!File.Exists(rofstPath))
|
||||
{
|
||||
MessageBox.Show("No existing ro.fst in path " + roFstInfo.MyRODb.FolderPath + ". Check for invalid path");
|
||||
MessageBox.Show("No existing ro.fst in path " + roFstInfo.MyRODb.FolderPath + ". Check for invalid path", "No existing RO.FST"); //B2017-125 added title to messagebox
|
||||
FinalProgressBarMessage = "No existing RO.FST";
|
||||
return;
|
||||
}
|
||||
FileInfo fiRofst = new FileInfo(rofstPath);
|
||||
if (roFstInfo.DTS == fiRofst.LastWriteTimeUtc)
|
||||
{
|
||||
MessageBox.Show("ro.fst files are same for path " + roFstInfo.MyRODb.FolderPath + ", import of that ro.fst will not be done");
|
||||
MessageBox.Show("ro.fst files are same for path " + roFstInfo.MyRODb.FolderPath + ", import of that ro.fst will not be done", "RO.FST up to date"); //B2017-125 added title to messagebox
|
||||
FinalProgressBarMessage = "RO.FST up to date";
|
||||
return;
|
||||
}
|
||||
if (roFstInfo.DTS > fiRofst.LastWriteTimeUtc)
|
||||
{
|
||||
MessageBox.Show("Cannot copy older ro.fst from " + roFstInfo.MyRODb.FolderPath + ", import of that ro.fst will not be done");
|
||||
MessageBox.Show("Cannot copy older ro.fst from " + roFstInfo.MyRODb.FolderPath + ", import of that ro.fst will not be done", "Older RO.FST"); //B2017-125 added title to messagebox
|
||||
FinalProgressBarMessage = "Older RO.FST";
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user