0
我有以下代碼段。應該用什麼方法代替當地的36?正在完成反編譯代碼
public void Alert()
{
AlertDialog.Builder localBuilder1 = new AlertDialog.Builder(this);
AlertDialog.Builder localBuilder2 = localBuilder1.setMessage("You lost").setCancelable(false);
36 local36 = new DialogInterface.OnClickListener()
{
public void onClick(DialogInterface paramDialogInterface, int paramInt)
{
paramDialogInterface.cancel();
Pokemon.this.setContentView(2130903046);
Pokemon.this.mainmenu();
}
};
AlertDialog.Builder localBuilder3 = localBuilder2.setPositiveButton("OK", local36);
AlertDialog localAlertDialog = localBuilder1.create();
this.alert = localAlertDialog;
this.alert.show();
}
...''OnClickListener'應該在'36'的位置;你是這個意思嗎? – 2012-03-15 22:51:07