关闭TabControl选项卡: Private Sub TabControl_Main_CloseButtonClick(sender As Object, e As EventArgs) Handles TabControl_Main.CloseButtonClick Dim TpA As DevExpress.XtraTab.ViewInfo.ClosePageButtonEventArgs = e For Each P1 As DevExpress.XtraTab.XtraTabPage
using System; using System.Threading; using System.Windows; using System.Windows.Controls; using WangCai.Common; namespace WangCai.Controls { public class MyTabControl : TabControl { Timer t = null; ; ; protected override void OnSelectionChanged(Sele