This commit is contained in:
@@ -27,7 +27,6 @@ namespace VEPROMS
|
||||
#region Log4Net
|
||||
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
#endregion
|
||||
StepRTB _MyRTB;
|
||||
Color _CommentTitleBckColor;
|
||||
VETreeNode _PrevBookMark = null;
|
||||
string _PathToROs = @"\\Volian-server\04 ve-proms files\PROMS_2010\vehlp\ro\ro.fst";//@"G:\promsdat\vehlp\ro\ro.fst";//@"G:\VEHLP\RO\RO.FST";
|
||||
@@ -833,10 +832,29 @@ namespace VEPROMS
|
||||
infoTabs.SelectedTab = infotabTransition;
|
||||
StepTabPanel dtp = ((DisplayTabItem)tc.SelectedDisplayTabItem).MyStepTabPanel;
|
||||
if (dtp == null) return;
|
||||
displayTransition.MyRTB = _MyRTB;
|
||||
displayTransition.MyRTB = (dtp == null) ? null : dtp.MyStepPanel.SelectedStepItem.MyStepRTB;
|
||||
displayTransition.CurTrans = null;
|
||||
}
|
||||
#endregion
|
||||
#region InfoTabLibDocs
|
||||
private void tabItemLibDocs_Click(object sender, EventArgs e)
|
||||
{
|
||||
displayLibDocs.LibDocListFillIn(tc);
|
||||
}
|
||||
private void tv_SectionShouldClose(object sender, vlnTreeSectionInfoEventArgs args)
|
||||
{
|
||||
if (!args.MySectionInfo.IsStepSection) tc.CloseWordItem(args.MySectionInfo);
|
||||
}
|
||||
#endregion
|
||||
#region InfoTabTags
|
||||
private void infotabTags_Click(object sender, EventArgs e)
|
||||
{
|
||||
infoPanel.Expanded = true;
|
||||
infoTabs.SelectedTab = infotabTags;
|
||||
StepTabPanel dtp = ((DisplayTabItem)tc.SelectedDisplayTabItem).MyStepTabPanel;
|
||||
displayTags.MyRTB = (dtp == null) ? null : dtp.MyStepPanel.SelectedStepItem.MyStepRTB;
|
||||
}
|
||||
#endregion
|
||||
private ItemInfo _CurrentItem = null;
|
||||
private void tc_ItemSelectedChanged(object sender, ItemSelectedChangedEventArgs args)
|
||||
{
|
||||
@@ -867,6 +885,7 @@ namespace VEPROMS
|
||||
infotabRO.Visible = infotabTransition.Visible = infotabTags.Visible = true;
|
||||
displayTransition.MyRTB = args.MyStepItem.MyStepRTB;
|
||||
displayRO.MyRTB = args.MyStepItem.MyStepRTB;
|
||||
displayTags.MyRTB = args.MyStepItem.MyStepRTB;
|
||||
displayRO.ProgressBar = bottomProgBar;
|
||||
}
|
||||
}
|
||||
@@ -896,7 +915,6 @@ namespace VEPROMS
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
@@ -1135,14 +1153,10 @@ namespace VEPROMS
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void tabItemLibDocs_Click(object sender, EventArgs e)
|
||||
{
|
||||
displayLibDocs.LibDocListFillIn(tc);
|
||||
}
|
||||
|
||||
private void tv_SectionShouldClose(object sender, vlnTreeSectionInfoEventArgs args)
|
||||
private void infoPanel_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!args.MySectionInfo.IsStepSection) tc.CloseWordItem(args.MySectionInfo);
|
||||
StepTabPanel dtp = ((DisplayTabItem)tc.SelectedDisplayTabItem).MyStepTabPanel;
|
||||
displayTags.MyRTB = (dtp == null) ? null : dtp.MyStepPanel.SelectedStepItem.MyStepRTB;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user