然后就会提示我们在我们的后台代码类中该使用的事件处理函数。
Which will then prompt us for the event handler in our code-behind class to use?
然后VS就会自动地在我们的后台代码类文件中创建一个占位的事件处理函数实现。
VS will then automatically create a stub event handler implementation in our code-behind class file. We can use this event handler to update the Button's content with a new message when it is clicked.
借助于自动生成文档的类库的后台工作,只需要在每个.as文件中添加几行简单的代码就能实例化整个框架。
The entire framework is instantiated in just a few lines of code per .as file thanks to the document classes doing all of the connection work in the background.
为了达到这个目的,您必须在调用页上在一个public属性来进行提交页信息的访问。例如,假象crosspostpage . aspx页上包含一个名字为_ textBox1的TextBox,为了使它能够在目标页访问,必须在后台类增加如下代码。
To work around this issue, in the caller page you must add public properties that expose any information you want posted pages to access. For example, imagine that crosspostpage.aspx.
为了达到这个目的,您必须在调用页上在一个public属性来进行提交页信息的访问。例如,假象crosspostpage . aspx页上包含一个名字为_ textBox1的TextBox,为了使它能够在目标页访问,必须在后台类增加如下代码。
To work around this issue, in the caller page you must add public properties that expose any information you want posted pages to access. For example, imagine that crosspostpage.aspx.
应用推荐