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