C2024-049-Add-the-ability-for-PROMS-to-remember-the-procedure-tabs-that-were-open-when-you-closed-PROMS
This commit is contained in:
@@ -16,6 +16,12 @@ namespace Volian.Controls.Library
|
||||
public delegate ItemInfo DisplayTabControlEditorSearchIncTransEvent(object sender, vlnTreeItemInfoEventArgs args);
|
||||
public delegate void DisplayTabControlEvent(object sender, EventArgs args);
|
||||
public delegate void DisplayTabControlStatusEvent(object sender, DisplayTabControlStatusEventArgs args);
|
||||
public class DisplayTabData
|
||||
{
|
||||
public int ItemID { get; set; }
|
||||
public string DisplayTabID { get; set; }
|
||||
public string DisplayTabName { get; set; }
|
||||
}
|
||||
public partial class DisplayTabControlStatusEventArgs : EventArgs
|
||||
{
|
||||
private VolianStatusType _Type;
|
||||
@@ -1145,6 +1151,9 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
else // If not already open, create a new Page
|
||||
{
|
||||
|
||||
List<DisplayTabData> DisplayTabs = new List<DisplayTabData>();
|
||||
|
||||
pg = new DisplayTabItem(this.components, this, proc, key); // Open a new Procedure Tab
|
||||
_MyDisplayTabItems.Add(key, pg);
|
||||
if (setFocus)
|
||||
|
Reference in New Issue
Block a user