This commit is contained in:
Jsj
2008-05-21 14:14:10 +00:00
parent c7e494af1b
commit 61eac9a037
5 changed files with 74 additions and 11 deletions

View File

@@ -70,8 +70,9 @@ namespace VEPROMS
tv.NodeDelete += new Volian.Controls.Library.vlnTreeViewBoolEvent(tv_NodeDelete);
tv.NodeProperties += new Volian.Controls.Library.vlnTreeViewEvent(tv_NodeProperties);
_CommentTitleBckColor = epAnnotations.TitleStyle.BackColor1.Color;
epAnnotations.Expanded = false;
infoPanel.Expanded = false;
if (!btnAnnoDetailsPushPin.Checked)
epAnnotations.Expanded = false;
infoPanel.Expanded = false;
}
private void frmVEPROMS_FormClosing(object sender, FormClosingEventArgs e)
@@ -197,8 +198,8 @@ namespace VEPROMS
_LastProcedure = null;
_LastSection = null;
_LastStep = null;
epAnnotations.Expanded = false;
rtxbComment.Text = "";
//epAnnotations.Expanded = false;
//rtxbComment.Text = "";
epAnnotations.TitleStyle.BackColor1.Color = _CommentTitleBckColor;
if (_MyMRIList.Add(node.VEObject) != null)
SetupMRU();
@@ -1257,7 +1258,8 @@ private AnnotationInfoList _Annotations;
}
else
{
epAnnotations.Expanded = false;
if (!btnAnnoDetailsPushPin.Checked)
epAnnotations.Expanded = false;
epAnnotations.TitleStyle.BackColor1.Color = _CommentTitleBckColor;
rtxbComment.Text = null;
}