Added a Continuous Action Summary ribbon button
This commit is contained in:
parent
c9ab2fc2d5
commit
7adcafa29b
@ -781,6 +781,12 @@ namespace Volian.Controls.Library
|
||||
if (PrintRequest != null)
|
||||
PrintRequest(this, args);
|
||||
}
|
||||
public event StepTabRibbonEvent ContActionSummaryRequest;
|
||||
private void OnContActionSummaryRequest(StepTabRibbonEventArgs args)
|
||||
{
|
||||
if (ContActionSummaryRequest != null)
|
||||
ContActionSummaryRequest(this, args);
|
||||
}
|
||||
void _MyStepRTB_LinkChanged(object sender, StepPanelLinkEventArgs args)
|
||||
{
|
||||
// do all Transition and ReferencedObject menu items/buttons based on whether a 'link is selected' and the link type.
|
||||
@ -2737,6 +2743,13 @@ namespace Volian.Controls.Library
|
||||
if (MyEditItem != null) MyEditItem.SaveCurrentAndContents();
|
||||
OnPrintRequest(new StepTabRibbonEventArgs(MyItemInfo.MyProcedure));
|
||||
}
|
||||
|
||||
private void btnCASCreate_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (MyItemInfo == null) return; // if creating a Continuous Action Summary before rtb exists, return;
|
||||
if (MyEditItem != null) MyEditItem.SaveCurrentAndContents();
|
||||
OnContActionSummaryRequest(new StepTabRibbonEventArgs(MyItemInfo.MyProcedure));
|
||||
}
|
||||
#region Table Grid
|
||||
#region TablePicker code
|
||||
// TODO: for tables
|
||||
|
BIN
PROMS/Volian.Controls.Library/StepTabRibbon.designer.cs
generated
BIN
PROMS/Volian.Controls.Library/StepTabRibbon.designer.cs
generated
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user