//Variables int multiplieurUp1 = 1; private void btn1x1_Click(object sender, EventArgs e) { if (multiplieurUp1 == 1) { multiplieurUp1 = 10; btn1x1.Text = "10x"; } if (multiplieurUp1 == 10) { multiplieurUp1 = 100; btn1x1.Text = "100x"; } if (multiplieurUp1 == 100) { multiplieurUp1 = 1; btn1x1.Text = "1x"; } }
else if
if
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)