When you smile,you are the most beautiful.
The moment you smile,you're the most beautiful.
不过按英语习惯,还是把when放后面比较地道的呢.