Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Windows.Forms;
- class WizardPages : TabControl {
- protected override void WndProc(ref Message m) {
- // Hide tabs by trapping the TCM_ADJUSTRECT message
- if (m.Msg == 0x1328 && !DesignMode) m.Result = (IntPtr)1;
- else base.WndProc(ref m);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement