Hier du hast noch eine optimierungsmöglichkeit . .
if ((Wert != 11) || (Wert !=22 )){
und zwar:
if ( true ) {