void onButtonClick(int id, string label) { if(id == buttonA) { // ボタンAが押された場合の処理 }else if(id == buttonB) { // ボタンBが押された場合の処理 } }