diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index 9c935e92..7af779d7 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -874,16 +874,24 @@ namespace VEPROMS return ((FolderConfig)jj_vetn.VEObject.MyConfig).Title; // get the panel heading } - //private void btnStepRTF_Click(object sender, System.EventArgs e) - //{ - // if (tc.MyStepRTB != null) - // { - // frmStepRTF frm = new frmStepRTF(); + private void btnStepRTF_Click(object sender, System.EventArgs e) + { + MessageBox.Show("No implementation code"); + //PingSession(null); - // frm.MyStepRTB = tc.MyStepRTB; - // frm.Show(); - // } - //} + //if (tc.MyStepRTB != null) + //{ + // StepConfig sc = new StepConfig(tc.MyStepRTB.MyItemInfo.MyContent.Config); + // if (sc.Step_SourceToBackground != null) + // OpenMyItem(sc.Step_SourceToBackground); + // if(sc.Step_BackgroundToSource != null) + // OpenMyItem(sc.Step_BackgroundToSource); + + //frmStepRTF frm = new frmStepRTF(); + //frm.MyStepRTB = tc.MyStepRTB; + //frm.Show(); + //} + } private SessionInfo MySessionInfo; private System.Threading.Timer MyActivityTimer; @@ -1324,6 +1332,7 @@ namespace VEPROMS dti.MyDSOTabPanel.OverrideClose = true; tc.CloseTabItem(dti); } + tmrCloseTabItems.Enabled = true; } private void InitializeSecurity()