Programming Help
Home
Android
C#
Java
PHP
Other
Contact
Remove opened tab (C#)
This post I will show you how remove a opened tabs from your notepad
First add abutton
You can add a image icon to it or add shortcut key for it(You can change it yourself)
I name it as close.
Add following codes
TabPage ct = tabControl1.SelectedTab; tabControl1.TabPages.Remove(ct);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment