SunnyUI/SunnyUI.Demo/Controls/FTabControl.cs

16 lines
392 B
C#
Raw Normal View History

2020-05-11 21:11:29 +08:00
namespace Sunny.UI.Demo
{
public partial class FTabControl : UIPage
2020-05-11 21:11:29 +08:00
{
public FTabControl()
{
InitializeComponent();
}
private bool uiTabControl1_BeforeRemoveTabPage(object sender, int index)
{
return this.ShowAskDialog("Do you want to close the tab : " + uiTabControl1.TabPages[index].Text + "?");
}
2020-05-11 21:11:29 +08:00
}
}