diff --git a/SunnyUI/Frames/IFrame.cs b/SunnyUI/Frames/IFrame.cs index 48a37d93..68531281 100644 --- a/SunnyUI/Frames/IFrame.cs +++ b/SunnyUI/Frames/IFrame.cs @@ -20,6 +20,7 @@ ******************************************************************************/ using System; +using System.Collections.Generic; namespace Sunny.UI { @@ -58,5 +59,9 @@ namespace Sunny.UI bool SetParamToPage(Guid toPageGuid, Guid fromPageGuid, params object[] objects); void Init(); void Final(); + + T GetPage() where T : UIPage; + + List GetPages() where T : UIPage; } }