I added some RTF logic to indent the change description. This will make it easier for me to copy text into source safe from this document.

Corrected logic for returning the RO Value when the ROs do not have multiple return values.  This fixes Bug B2013-080.
Added logic to the code that looks for a newer version of the RO.FST file, when the DocVersion (Folder) does not have an assocated RO Database.
Added Caption, Button and Icon to Warning Message when DocVersion (Folder) does not have an assocated RO Database.
Added logic to support ROs that do not have Multiple return values.
Fixed logic to support ROST lookup when the DocVersion (Folder) does not have an assocated RO Database
Added Caption, Button and Icon to Warning Message when DocVersion (Folder) does not have an assocated RO Database.
Shut-off the RO Edit feature when DocVersion (Folder) does not have an assocated RO Database.
This commit is contained in:
Rich
2013-04-19 15:01:11 +00:00
parent f77a704f6c
commit 4ca9a34c07
6 changed files with 27 additions and 9 deletions

View File

@@ -15,9 +15,12 @@ namespace Sync
{
private List<FileCompare> _CheckedOut;
private bool IsLoading = false;
private float _DPI=100;
public frmSync()
{
InitializeComponent();
using (Graphics gr = CreateGraphics())
_DPI = gr.DpiX;
}
private void LoadSettings()
{
@@ -495,6 +498,7 @@ namespace Sync
}
sb.Append((fis.Exists ? "" : " =>NEW") + "\t" + fi.Name + "\r\n");
AddText(rtb, fntNormal, (fis.Exists ? "" : " =>NEW") + "\t" + fi.Name + "\r\n");
AddIndent(rtb);
}
}
sb.Append("\r\nInternal Release:\r\n\r\n");
@@ -541,7 +545,6 @@ namespace Sync
MessageBox.Show(sb2.ToString(), "Error saving Clipboard", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
private bool HasPromsFixes(List<FileCompare> _CheckedOut)
{
foreach (FileCompare fc in _CheckedOut)
@@ -561,7 +564,14 @@ namespace Sync
}
return false;
}
private void AddIndent(RichTextBox rtb)
{
rtb.Select(rtb.TextLength, 0);
rtb.SelectionIndent = (int) _DPI;
rtb.SelectedText = "\r\n";
rtb.Select(rtb.TextLength, 0);
rtb.SelectionIndent = 0;
}
private static void AddText(RichTextBox rtb, Font font, string txt)
{
rtb.Select(rtb.TextLength, 0);