Compare commits
7 Commits
B2024-062_
...
B2024-063-
Author | SHA1 | Date | |
---|---|---|---|
6128632186 | |||
5db6a984f3 | |||
a43e059733 | |||
0ac79f4e46 | |||
218a2c17a2 | |||
a629f6834b | |||
bf5337cf63 |
Binary file not shown.
@@ -1206,6 +1206,9 @@ namespace VEPROMS
|
||||
private bool validateDate(TextBox txtDate)
|
||||
{
|
||||
DateTime dDate;
|
||||
if (!(txtDate.Text == ""))
|
||||
{
|
||||
|
||||
if (DateTime.TryParse(txtDate.Text, out dDate))
|
||||
{
|
||||
return true;
|
||||
@@ -1219,6 +1222,11 @@ namespace VEPROMS
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private void txbRevDate_Enter(object sender, EventArgs e)
|
||||
{
|
||||
|
@@ -673,6 +673,8 @@ namespace Volian.Controls.Library
|
||||
else
|
||||
{
|
||||
using (Annotation annotation = CurrentAnnotation.Get())
|
||||
{
|
||||
if (annotation != null) // B2024-061 check for null reference
|
||||
{
|
||||
annotation.RtfText = rtxbComment.Rtf;
|
||||
annotation.SearchText = rtxbComment.Text;
|
||||
@@ -683,6 +685,7 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
AnnotationDirty = false;
|
||||
UpdateAnnotationGrid();
|
||||
AnnotationTypeInfoList.Reset(); // B2018-135: refresh annotation type list to update when annotations are used.
|
||||
|
Reference in New Issue
Block a user