What the whole code does now?It first creates our application object and then changes (overrides) value of the public variable 'btn1Text'. Run it to see that text displayed on the button changed.
把文本都放到公共变量,以便于以后的国际化翻译工作,而不需要修改程序的内部代码。
What the whole code does now?It first creates our application object and then changes (overrides) value of the public variable 'btn1Text'. Run it to see that text displayed on the button changed.
把文本都放到公共变量,以便于以后的国际化翻译工作,而不需要修改程序的内部代码。
应用推荐