custom tabcontrol ,for reference only