<p>I would like to intercept the event in a .NET Windows Forms TabControl when the user has changed tab by double-clicking the tab (instead of just single-clicking it).</p>

<p>Do you have any idea of how I can do that?</p>

[{'answer_id': 32807, 'author': 'Jason Z', 'author_id': 2470, 'author_profile': 'https://Stackoverflow.com/users/2470', 'pm_score': 3, 'selected': True, 'text': '<p>The MouseDoubleClick event of the TabControl seems to respond just fine to double-clicking.  The only additional step I would do is set a short timer after the TabIndexChanged event to track that a new tab has been selected and ignore any double-clicks that happen outside the timer.  This will prevent double-clicking on the selected tab.</p>\n'}, {'answer_id': 32829, 'author': 'Vin', 'author_id': 1747, 'author_profile': 'https://Stackoverflow.com/users/1747', 'pm_score': 0, 'selected': False, 'text': '<p>How about subclassing the TabControl class and adding your own DoubleClick event? </p>\n'}, {'answer_id': 32900, 'author': 'Vincent', 'author_id': 1508, 'author_profile': 'https://Stackoverflow.com/users/1508', 'pm_score': 1, 'selected': False, 'text': "<p>For some reason, MouseDoubleClick, as suggested by Jason Z is only firing when clicking on the tabs and clicking on the tab panel does not do anything, so that's exactly what I was looking for.</p>\n"}]
['https://Stackoverflow.com/questions/32733', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1508/']