问题
In a TabControl there can be empty place to the right from tabs in the panel if there are not too many tabs. When a user doubleclicks in this empty space I'd like to process this event to create a new tab. How to achieve this?
回答1:
This doesn't sound like a UI concept that's intuitive to the users of your application. Why don't you add a small additional tab labelled "+". When the user clicks on that tab, the full tab is added. Firefox does it that why and it was intuitive to me from the first second.
(Sorry for not answering your double click question.)
来源:https://stackoverflow.com/questions/4983389/how-to-handle-a-double-click-on-a-tabcontrols-tabs-panels-empty-space