If (e.ChangeType = "ContextNode") Then ' A seleção XML ou o contexto foi alterado. ' Escreva o código aqui. Return End If ...