Compare commits
No commits in common. "3999d1c49baaa7866e133796bf325bb7cea512ee" and "214dd8ec08d0da6a54223847cbc29478e98e1523" have entirely different histories.
3999d1c49b
...
214dd8ec08
@ -1654,10 +1654,6 @@ namespace VEPROMS
|
|||||||
// B2017-214 added a null reference check
|
// B2017-214 added a null reference check
|
||||||
// B2010-071 Since we cannot tell if the user click on the X in Word or the X in PROMS, ask if the current tab
|
// B2010-071 Since we cannot tell if the user click on the X in Word or the X in PROMS, ask if the current tab
|
||||||
// should be closed or if we should exit PROMS or just Cancel to continue working
|
// should be closed or if we should exit PROMS or just Cancel to continue working
|
||||||
if (tc._MyDisplayTabItems.Count < 1) // If all thabs are closed in the editor will indicate that in the database.
|
|
||||||
{
|
|
||||||
VEPROMS.CSLA.Library.Item.DeactivateStateDisplayTabTmp(MySessionInfo.UserID);
|
|
||||||
}
|
|
||||||
if (!_WeAreExitingPROMS && !ClosingWithError && tc.SelectedDisplayTabItem != null && tc._MyDisplayTabItems.Count > 0)
|
if (!_WeAreExitingPROMS && !ClosingWithError && tc.SelectedDisplayTabItem != null && tc._MyDisplayTabItems.Count > 0)
|
||||||
{
|
{
|
||||||
// B2019-071 dialog to ask user if we are to close one tab or exit
|
// B2019-071 dialog to ask user if we are to close one tab or exit
|
||||||
@ -2353,7 +2349,6 @@ namespace VEPROMS
|
|||||||
|
|
||||||
public void openDisplaytabstate()
|
public void openDisplaytabstate()
|
||||||
{
|
{
|
||||||
// Retrieve edit tab state from database.
|
|
||||||
DataTable DisPlayTabState = VEPROMS.CSLA.Library.Item.GetDisplayTabs(VlnSettings.UserID);
|
DataTable DisPlayTabState = VEPROMS.CSLA.Library.Item.GetDisplayTabs(VlnSettings.UserID);
|
||||||
|
|
||||||
if (DisPlayTabState.Rows.Count > 0)
|
if (DisPlayTabState.Rows.Count > 0)
|
||||||
@ -2361,11 +2356,11 @@ namespace VEPROMS
|
|||||||
foreach (DataRow TabState in DisPlayTabState.Rows)
|
foreach (DataRow TabState in DisPlayTabState.Rows)
|
||||||
{
|
{
|
||||||
int _ItemID = (int)TabState["ItemID"];
|
int _ItemID = (int)TabState["ItemID"];
|
||||||
|
//ItemInfoList _Procedures = ItemInfoList.GetList(_ItemID, (int)E_FromType.Procedure));
|
||||||
ItemInfo _Procedure = ItemInfo.Get(_ItemID);
|
ItemInfo _Procedure = ItemInfo.Get(_ItemID);
|
||||||
// Open procedure in the editor.
|
//ItemInfo.Get
|
||||||
|
//ItemInfo.Get
|
||||||
OpenItem(_Procedure);
|
OpenItem(_Procedure);
|
||||||
// SelectedStepTabPanel needs to be set so the print buttons on the ribbon will work.
|
|
||||||
SelectedStepTabPanel = tc.MyEditItem.MyStepPanel.MyStepTabPanel;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user