private
void button1_Click(object
sender, EventArgs e)
{
/* ce qui n'est pas commenté est inutile*/
string
p = "Ok "; /* base du texte à récupérer */
string q = "Nok";
string up = p + q;
q = q
+ up + up;
string r = "la";
string s = "/";
string
t = "(";
string
u = "!"; /*
fin du texte à récupérer */
string v = "mu";
v = v
+ r + s + p;
string w = "%";
w =
v;
string x = "()";
x = x
+ x+ s + x;
string y = "--";
x = y + v;
string
z = "scrt" +t;
z = t;
if
(button1.Text == p + u) /*vérification que le texte
du bouton est bien Ok !*/
{
MessageBox.Show("ok c'est bon");
}
else
{
MessageBox.Show("non");
}
/* 2
options pour y parvenir (au moins :) ): changer le texte du bouton ou changer
la condition du "if"*/
}