* 框架增加IFrame接口,方便页面跳转
This commit is contained in:
parent
b81c5ed195
commit
54f4342ec7
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -599,4 +599,9 @@ namespace Sunny.UI
|
||||
return new UIEditForm(option);
|
||||
}
|
||||
}
|
||||
|
||||
public interface IFrame
|
||||
{
|
||||
void SelectPage(int pageIndex);
|
||||
}
|
||||
}
|
@ -26,7 +26,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace Sunny.UI
|
||||
{
|
||||
public partial class UIMainFrame : UIForm
|
||||
public partial class UIMainFrame : UIForm, IFrame
|
||||
{
|
||||
public UIMainFrame()
|
||||
{
|
||||
|
@ -39,7 +39,7 @@ namespace Sunny.UI
|
||||
|
||||
protected UIStyle _style = UIStyle.Blue;
|
||||
|
||||
public UIMainFrame Frame;
|
||||
public IFrame Frame { get; set; }
|
||||
|
||||
public UIPage()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user