This commit is contained in:
parent
f52384c8d5
commit
fa7f36dcdc
@ -895,14 +895,14 @@ namespace VEPROMS
|
|||||||
|
|
||||||
private void vlnCSLAPanel1_LinkClicked(object sender, StepPanelLinkEventArgs args)
|
private void vlnCSLAPanel1_LinkClicked(object sender, StepPanelLinkEventArgs args)
|
||||||
{
|
{
|
||||||
switch (args.MyParsedLinkType)
|
switch (args.MyLinkText.MyParsedLinkType)
|
||||||
{
|
{
|
||||||
case ParsedLinkType.ReferencedObject:
|
case ParsedLinkType.ReferencedObject:
|
||||||
MessageBox.Show(args.Roid, args.MyParsedLinkType.ToString(), MessageBoxButtons.OK, MessageBoxIcon.Information);
|
MessageBox.Show(args.MyLinkText.Roid, args.MyLinkText.MyParsedLinkType.ToString(), MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
break;
|
break;
|
||||||
case ParsedLinkType.Transition:
|
case ParsedLinkType.Transition:
|
||||||
case ParsedLinkType.TransitionRange:
|
case ParsedLinkType.TransitionRange:
|
||||||
tc.OpenItem(args.MyTransitionInfo.MyItemToID);
|
tc.OpenItem(args.MyLinkText.MyTransitionInfo.MyItemToID);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1226,7 +1226,7 @@ namespace VEPROMS
|
|||||||
StepTabPanel dtp = ((DisplayTabItem)tc.SelectedDisplayTabItem).MyStepTabPanel;
|
StepTabPanel dtp = ((DisplayTabItem)tc.SelectedDisplayTabItem).MyStepTabPanel;
|
||||||
if (dtp == null) return;
|
if (dtp == null) return;
|
||||||
displayTransition.MyRTB = dtp.MyStepPanel.SelectedStepItem.MyStepRTB;
|
displayTransition.MyRTB = dtp.MyStepPanel.SelectedStepItem.MyStepRTB;
|
||||||
displayTransition.CurTrans = args.MyTransitionInfo;
|
displayTransition.CurTrans = args.MyLinkText.MyTransitionInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void tc_LinkModifyRO(object sender, StepPanelLinkEventArgs args)
|
private void tc_LinkModifyRO(object sender, StepPanelLinkEventArgs args)
|
||||||
@ -1238,7 +1238,7 @@ namespace VEPROMS
|
|||||||
StepTabPanel dtp = ((DisplayTabItem)tc.SelectedDisplayTabItem).MyStepTabPanel;
|
StepTabPanel dtp = ((DisplayTabItem)tc.SelectedDisplayTabItem).MyStepTabPanel;
|
||||||
if (dtp == null) return;
|
if (dtp == null) return;
|
||||||
displayRO.MyRTB = dtp.MyStepPanel.SelectedStepItem.MyStepRTB;
|
displayRO.MyRTB = dtp.MyStepPanel.SelectedStepItem.MyStepRTB;
|
||||||
displayRO.CurROLink = args.RoUsageid; // this is wrong - use for now.
|
displayRO.CurROLink = args.MyLinkText.RoUsageid; // this is wrong - use for now.
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool _LoadingList = false;
|
private bool _LoadingList = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user