代码如下面的清单2 所示。
视图代码如下面清单10所示。
因此使用该操作的代码如下所示。
进行这项操作的XSL代码如下所示
生成的XAML代码如下。
该代理的代码如下所示。
处理这种工作的代码如下所示。
使用该常量的代码如下所示。
我提出这个问题的代码如下这种结构。
The code I presented in that question follows this structure only.
修改上述代码如下所示,然后保存文件。
使用PEARDB的替代代码如下所示。
在页面的底部,添加一个隐藏的面板控件,代码如下。
At the bottom of the page, add a hidden panel using the following code.
您还要提供一个Cancel按钮,其代码如下。
You also want to supply a Cancel button with code as follows.
画一个简单图形(如三角形)的代码如下。
The code for a drawing simple shape (a triangle) would look something like this.
该代码如下所示。
这种情况中,假设同步服务调用的客户端代码如下:this。
In this, if the client code for a synchronous service invocation is like this.
要添加这个定制动作,可以使用如下代码。
这样的代码也可以写成如下的样子。
输入如下的两行代码。
对应的代码片段如下。
因此上面的示例代码可以用如下两种方式进行修改
The sample code from above can therefore be changed in the following two ways
那么运行此代码时我们将得到如下错误。
要使用轮询,需要对代码进行如下修改。
The following code changes are necessary to use the polling strategy.
上面的代码会产生如下结果。
到Source选项卡,添加如下清单1中的代码。
Go to the Source TAB, and then add the code in Listing 1 below.
这一段令人兴奋的代码生成的结果如下所示。
The result generated by this exciting piece of code looks like this.
重构您的原始代码,使其看起来如下所示。
打开该文件并且添加用粗体显示的代码,如下所示。
打开该文件并且添加用粗体显示的代码,如下所示。
应用推荐