if (messagebox.text=="player 1 wins"){ a++ }
void MyMessage(string txt) { if( txt == "player 1 wins" ) { //show message } else if( txt == "player 1 lose" ) { //show message } // and so on }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)