This commit is contained in:
@@ -40,7 +40,7 @@ namespace VEPROMS
|
||||
Step _LastStep = null;
|
||||
StepInfo _LastStepInfo = null;
|
||||
Color _CommentTitleBckColor;
|
||||
DisplayRTB _MyRTB;
|
||||
StepRTB _MyRTB;
|
||||
VETreeNode _PrevBookMark = null;
|
||||
|
||||
public frmVEPROMS()
|
||||
@@ -830,7 +830,7 @@ namespace VEPROMS
|
||||
/// <param name="e"></param>
|
||||
private void btnSetBookMrk_Click(object sender, EventArgs e)
|
||||
{
|
||||
DisplayTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel;
|
||||
StepTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel;
|
||||
_MyBookMarks.Add(dtp.SelectedItem.MyItem);
|
||||
RefreshBookMarkData();
|
||||
//VETreeNode tn = (VETreeNode)(tv.SelectedNode);
|
||||
@@ -1102,7 +1102,7 @@ namespace VEPROMS
|
||||
{
|
||||
infoPanel.Expanded = true;
|
||||
infoTabs.SelectedTab = infotabRO;
|
||||
DisplayTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel;
|
||||
StepTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel;
|
||||
if (dtp == null) return;
|
||||
ROFST rofst = new ROFST("g:\\vehlp\\ro\\ro.fst");
|
||||
displayRO.MyROFST = rofst;
|
||||
@@ -1113,7 +1113,7 @@ namespace VEPROMS
|
||||
private void infotabTransition_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (tc == null || tc.SelectedTab == null) return;
|
||||
DisplayTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel;
|
||||
StepTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel;
|
||||
if (dtp == null) return;
|
||||
displayTransition.MyRTB = dtp.MyPanel.DisplayItemSelected.MyDisplayRTB;
|
||||
displayTransition.CurTrans = null;
|
||||
@@ -1122,7 +1122,7 @@ namespace VEPROMS
|
||||
{
|
||||
infoPanel.Expanded = true;
|
||||
infoTabs.SelectedTab = infotabTransition;
|
||||
DisplayTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel;
|
||||
StepTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel;
|
||||
if (dtp == null) return;
|
||||
displayTransition.MyRTB = _MyRTB;
|
||||
displayTransition.CurTrans = null;
|
||||
@@ -1135,7 +1135,7 @@ namespace VEPROMS
|
||||
else
|
||||
{
|
||||
itemAnnotationsBindingSource.DataSource = args.MyDisplayItem.MyItem.ItemAnnotations;
|
||||
DisplayTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel;
|
||||
StepTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel;
|
||||
if (dtp == null) return;
|
||||
displayTransition.MyRTB = dtp.MyPanel.DisplayRTB;
|
||||
displayRO.MyRTB = dtp.MyPanel.DisplayItemSelected.MyDisplayRTB;
|
||||
@@ -1182,7 +1182,7 @@ namespace VEPROMS
|
||||
infoTabs.SelectedTab = infotabRO;
|
||||
ROFST rofst = new ROFST("g:\\vehlp\\ro\\ro.fst");
|
||||
displayRO.MyROFST = rofst;
|
||||
DisplayTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel;
|
||||
StepTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel;
|
||||
if (dtp == null) return;
|
||||
displayRO.MyRTB = dtp.MyPanel.DisplayItemSelected.MyDisplayRTB;
|
||||
displayRO.CurROLink = null;
|
||||
@@ -1200,7 +1200,7 @@ namespace VEPROMS
|
||||
infoTabs.SelectedTab = infotabRO;
|
||||
ROFST rofst = new ROFST("g:\\vehlp\\ro\\ro.fst");
|
||||
displayRO.MyROFST = rofst;
|
||||
DisplayTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel;
|
||||
StepTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel;
|
||||
if (dtp == null) return;
|
||||
displayRO.MyRTB = dtp.MyPanel.DisplayItemSelected.MyDisplayRTB;
|
||||
displayRO.CurROLink = args.RoUsageid; // this is wrong - use for now.
|
||||
|
Reference in New Issue
Block a user