关闭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 In TabControl_Main.TabPages
If P1.Text = TpA.Page.Text Then
TabControl_Main.TabPages.Remove(P1)
P1.Dispose()
Exit Sub
End If
Next
End Sub
相关文章
- 09-25django项目的最低服务器要求[已关闭]
- 09-25控件的关闭
- 09-25微信内置浏览器缓存清理及关闭微信默认的X5内核
- 09-25监听浏览器tab选项卡选中事件,点击浏览器tab标签页回调事件,浏览器tab切换监听事件
- 09-25【并发编程】线程池是否需要手动关闭吗?以Hutool中的线程池为例
- 09-25怎么关闭InstantRun
- 09-25webdriver 执行完毕关闭chromedriver进程
- 09-25Intellij idea 设置关闭自动更新
- 09-25WPF学习笔记-如何按ESC关闭窗口
- 09-25Socket error 10058 – Cannot send after socket shutdown //socket已经关闭