Add the following code into the file
在文件中添加以下代码
Add the following code into the plugin.xml file.
添加以下代码到plugin . xml文件。
First, add the following code to the global.js file.
首先,将以下代码添加到global . js文件。
Add the following code shown in Listing X to the skin.js file.
向skin . js文件添加如列表x所示的以下代码。
Now, back in the button handler I'll then add the following code.
现在,回到“Generate Report”按钮的处理程序添加下列代码。
Next, add the following code to the end of the queryRecords method.
接下来,将下列代码添加到queryRecords方法的末尾。
Add the following code to the start method of the class HttpLogBundleActivator.
向类HttpLogBundleActivator的中start方法增加下列代码。
Create a label in the report layout below the table and add the following code.
在表下面的报告布局中创建一个label,并添加以下代码。
At the top of the partial class definition for the form, add the following code.
在表单的partial类定义顶部,添加以下代码。
Add the following code to the initialize handler for the overall report definition.
将以下代码添加到初始化处理程序中,获得完整的报告定义。
To create a DIV that can be editable, we simply add the following code to our HTML.
要创建一个能被编辑的DIV,我们只用简单地将以下代码添加到HTML中。
Then, add the following code snippet directly below the constructor described above.
然后,在上面描述的构造函数的下方直接添加下列代码片断。
Add the following code to the handle method that will log the reception of a message.
将以下代码添加到handle方法中,该方法将记录消息的接收。
To properly handle the workspace environment variable, we'll add the following code to the build file.
为了合适地处理workspace环境变量,我们将会向构建文件添加以下的代码。
Open the session bean source code that you created earlier, and add the following code from Listing 3.
打开您在前面所创建的对话bean源代码,并从代码行3中添加以下的代码。
Inside your extension's folder, create a text file called popup.html, and add the following code to it.
在您的扩展文件夹中,创建一个叫做popup . html的文本文件,并且加入如下代码。
Add the following code to Program.cs after the creation of the proxy object (mywcf in the example above).
在Program . cs中创建代理对象(上面示例中的mywcf)之后添加以下代码。
To enable sorting of the columns, you must add the following code to the main method before calling the Shell.open method.
要对列启用排序功能,您必须在调用Shell . open方法前向main方法中添加以下代码。
We now need to add our definitions for the slots we're going to write. Add the following code beneath the 'public:' section.
现在,我们需要为要编写的槽添加定义。
This sample code shows how a PHP script can leverage those classes. As before, create a new PHP script (for example, MoreJava.php) and add the following code.
此示例代码显示了php脚本可以如何利用这些类。
To add an ATOM feed link to access the current content, add the following code shown in listing 4 to the specific component where you want the link to display.
要添加一个ATOM提要链接来访问当前内容,将清单4中所示的代码添加到您想要在其中显示链接的组件中。
You can just as easily add those by following the same patterns I describe in this section of the code.
您可以按照我在这段代码中描述的相同的模式轻松添加这些元素。
To make things working, we need to add a section for the ScriptHandlerFactory HttpHandler using the following code snippet under the <system.web> section
我们还需要在<system.web>节点下添加如下代码段,以完成对ScriptHanlerFactory的应用。
To start our skin client, we must first initialize the GTK environment, create a main window, and add widgets to it, as in the following code snippets.
为启动外壳客户机,我们必须先初始化GTK环境,创建一个主窗口,然后向其中添加控件,如下面的代码片断所示。
To add a new batch item, I use the following test code.
使用以下测试代码添加新的批处理条目。
The data binding code and data synchronization code are also generated automatically. The following C# code is generated by IBM Database Visual Studio Add-in to bind the Employee table.
还会自动地生成数据绑定代码和数据同步代码。
Optionally, for better usability, add the following line of code to the onclick event for the edit button.
为了获得更好的可用性,可以选择将以下代码行添加到编辑按钮的onclick事件。
In the following sections, you add the code necessary for retrieving the content and design from the Domino view that the user has selected from the List component in the Flash movie.
在下面几节中,您将添加检索用户在Flash影片中的List组件中所选择的Domino视图的内容和设计所需的代码。
Coldfusion will add the following to this code to ensure your Web server passes the appropriate Coldfusion file formats to the Coldfusion application to handle.
Coldfusion会将以下内容添加到这行代码中,以确保Web服务器将适当的Coldfusion文件格式传递给Coldfusion应用程序进行处理。
At the bottom of the page, add a hidden panel using the following code.
在页面的底部,添加一个隐藏的面板控件,代码如下。
应用推荐