How do you say "like when you" or "the way you" in Japanese?


So basically, how do you say something like "talk to the boss the way you talk
to your father!" You know, with a threatening tone.




How about...  
~~する(とき)みたいな(しゃべり)かたをする, ~~するような(口のきき)かたをする, or ~~する(とき)みたいに~~する?

