non so come fare la if???

Io ho pensato a questo:
If frmAnagraficaDocente Then
frmAnagraficaDocente.txtCitta.Text = frmComune.lblComuneScelto
frmAnagraficaDocente.txtProvincia.Text = frmComune.lblCapoluogoScelto
frmAnagraficaDocente.txtCap.Text = frmComune.lblCapScelto
frmAnagraficaDocente.txtStato.Text = frmComune.lblStatoScelto

ElseIf frmAnagraficaStudente Then
frmAnagraficaStudente.txtCitta.Text = frmComune.lblComuneScelto
frmAnagraficaStudente.txtProvincia.Text = frmComune.lblCapoluogoScelto
frmAnagraficaStudente.txtCap.Text = frmComune.lblCapScelto
frmAnagraficaStudente.txtStato.Text = frmComune.lblStatoScelto
End If

però nome faccio a diglio tra if e then che:
se i dati vanno in frmAnagraficaDocente fai la prima parte
se vanno in frmAnagraficaStudente la seconda???