Hi Anoymous.I mainly use 'While' in continuous form.And 'When' in simple tense forms(and i mainly use it in past tense)but keep in mind that it is not the condition or reservation that you can only use it in the past simple or only in continuous tense forms.you can also use it in other tense forms