This commit is contained in:
2010-09-27 12:42:43 +00:00
parent ae10528a5b
commit 0c246c22a5
6 changed files with 185 additions and 175 deletions

View File

@@ -772,6 +772,7 @@ namespace VEPROMS
if (tc == null || tc.SelectedDisplayTabItem == null) return;
if (SelectedStepTabPanel == null) return;
displayTransition.MyRTB = SelectedStepTabPanel.MyStepPanel.SelectedStepItem.MyStepRTB;
displayTransition.RangeColor = global::VEPROMS.Properties.Settings.Default.TransitionRangeColor;
displayTransition.CurTrans = null;
}
#endregion
@@ -957,7 +958,7 @@ namespace VEPROMS
}
ctrlAnnotationDetails.UpdateAnnotationGrid(_CurrentItem);
AnnotationPanelView();
btnRepaginate.Enabled = btnPrint.Enabled = (_CurrentItem != null);
btnPrint.Enabled = (_CurrentItem != null);
}
void _CurrentItem_Deleted(object sender)
@@ -1002,6 +1003,7 @@ namespace VEPROMS
infoPanel.Expanded = true;
infoTabs.SelectedTab = infotabTransition;
if (SelectedStepTabPanel == null) return;
displayTransition.RangeColor = global::VEPROMS.Properties.Settings.Default.TransitionRangeColor;
displayTransition.MyRTB = SelectedStepTabPanel.MyStepPanel.SelectedStepItem.MyStepRTB;
displayTransition.CurTrans = args.MyLinkText.MyTransitionInfo;
}
@@ -1028,11 +1030,11 @@ namespace VEPROMS
// reset in case previous selection changed items.
btnNew.SubItems.Clear();
btnNew.Enabled = true;
btnNew.Enabled = false;
VETreeNode vtn = tv.SelectedNode as VETreeNode;
if (vtn == null) return;
btnNew.Enabled = true;
vtn.Expand();
// Folders can have either folders & docversions, but