这是否可以将一些字符串存储在本地资源文件中并使用开关盒将它们设置为标签???
现在我正在使用这段代码......
switch (messgseCode)
{
case 1:
currentview.ResultMessage = "Sorry..! <br> Please Contact in this Address";
break;
case 2:
currentview.ResultMessage = "Sorry..!<br> Entered Student Id is Incorrect";
break;
case 3:
currentview.ResultMessage = "Sorry..!<br> Entered Mobile Number is Incorrect";
break;
case 4:
currentview.ResultMessage = "Sorry..!<br> Entered Username is Incorrect";
break;
default:
currentview.ResultMessage = "Sorry..! <br> An error Occured";
break;
}