在将组件放到窗体中时,设计器宿主会为该组件和它的容器创建一个站点实例。
When you place a component on a form, the designer-host creates a site instance for the component and its container.
在属性窗体创建事件处理代码的方法是点击事件标签。
You can create an event handler by using the Events TAB of the Properties window.
然而,开发人员可以做的,是在VB6中创建子窗体,并将其所有内 容用.NET来构建。
What developers can do, however, is create a child form in VB6 and build all of its contents in .NET.
您可将数据源拖放到应用程序中的一个窗体中,这将自动在窗体中创建默认用户界面控件并生成所有必需的代码。
You can drag and drop the data source onto a form in the application, which automatically creates a default user interface control in the form and generates all the necessary code.
这些方法都假设面板、窗体和布局是用手工代码创建的。
Both of these approaches presume the creation of panels, forms, and layouts using hand-crafted code.
创建一个新的窗体,并在上面添加三个文本框,以及一个标签和两个按钮,界面看起来如图1。
Create a new form and add three text boxes with labels and two buttons to the form so that it looks something similar to Figure 1.
在属性窗体的事件名称里双击事件名称就可以创建一个事件处理代码,这时代码后置文件会在代码编辑器中打开。
To create an event handler with the default name, you just double-click the event name in the Properties window. The event handler is created and the code-behind file is opened in the code editor.
本文将向您介绍如何做到这一点,演示如何使用MicrosoftAccess与底层的DB 2数据存储交互,以创建窗体和生成报告。
This article shows you how to do just that. It demonstrates how to create forms and generate reports using Microsoft Access that interact with an underlying DB2 data store.
通过使用图形用户界面,用户可以创建窗体,向窗体中添加控件,然后连接这些控件的事件来创建Palm应用程序。
By using a graphical interface, the user could create forms, populate them with controls, and then wire events from these controls to create the Palm application.
不必担心,您不会将数据存储在MicrosoftAccess中,只不过需要将Microsoft Access数据库作为要创建的窗体和报告的逻辑容器。
Don't worry, you won't be storing our data in Microsoft Access, you just need a Microsoft Access database as a logical container for the forms and reports you'll be creating.
单击窗体上的GeneratestubFiles按钮,创建Axis stub文件。
Click the Generate stub files button on the form to create the Axis stub files.
然后,我将向您说明如何生成自己的基本窗体设计器,以使用户能够按照与使用VisualStudio中的窗体设计器创建窗体的类似方式来创建窗体。
Then I'll show you how to build your own bare-bones forms designer that allows your users to create a form in a manner similar to the way they do it using the forms designer in Visual Studio.
请注意,这里还有一个附加的按钮,在这里,将用它在新的CLX窗体上从该tabsheet重新创建这些控件。
Note that there's an additional button here that will be used to recreate the controls from this tabsheet on a new CLX form.
创建表示应用程序窗体类型的Type对象之后,我使用Type .GetField方法检索Form对象中指定字段(控件)的信息。
After creating a type object that represents the application form's type, I retrieve information about a specified field (a control) on the form object by using the Type.GetField method.
你能创建圆形的,矩形的以及椭圆形的窗体,或者你能将这些形状结合起来。
You can create round, rectangular, and elliptic forms, or you can combine these shapes.
向导询问您有关问题并基于您的回答创建窗体。
The wizard asks you questions and creates a form based on your answers.
“自动窗体”创建显示基础表或查询?中所有字段和记录的窗体。
AutoForm creates a form that displays all fields and records in the underlying table or query?.
这个项目向你展示了如何创建控件数组,在窗体中载入它们的元素,这样它们就是可视的,并完全显示出来,设置它们的属性,然后卸载它们。
This project shows you how to create control arrays, load their elements on forms so they are visible and display properly, set their properties, and unload them.
在窗体上,要创建或修改运行宏的命令按钮,请将该宏从“数据库”窗口拖动到窗体“设计”视图。
On a form, to create or modify a command button that runs a macro, drag the macro from the Database window to form Design view.
在HCBT_CREATEWND通知的时候,窗体已经被创建了,但是它的最终的大小和位置可能还没有被确定,它的父窗体也可能没有被创建起来。
At the time of the HCBT_CREATEWND notification, the window has been created, but its final size and position may not have been determined and its parent window may not have been established.
根据应用程序的要求,在创建参数化窗体后可能还需要执行一些步骤。
Depending on your application requirements, there are several steps you may want to perform after creating a parameterized form.
演示如何为控件和窗体创建复杂的布局。
Shows how to create sophisticated layouts for your controls and forms.
提供有关如何使用您自己的代码创建应用程序特定的登录窗体并执行身份验证的信息。
Provides information on how to create an application-specific login form and perform authentication using your own code.
表示一个类,该类负责创建窗体值提供程序对象的新实例。
Represents a class that is responsible for creating a new instance of a form-value provider object.
我试着创建新窗体和控件和代码复制到新的形式。
I tried creating a new form and copied the controls and code over to the new form.
一个指向CREATESTRUCT结构的指针,该结构包含即将被创建的窗体的初始化参数。
Pointer to a CREATESTRUCT structure that contains initialization parameters for the window about to be created.
窗体继承使您得以创建基窗体,然后从其继承并进行修改,同时保留任何需要的原始设置。
Form inheritance enables you to create a base form and then inherit from it and make modifications while preserving whatever original Settings you need.
可以使用新工作项窗体来创建工作项,复制现有工作项并进行修改,或创建自动从现有工作项链接的工作项。
You can create a work item by using the new work item form, copy an existing work item and modify it, or create a work item that is automatically linked from an existing work item.
在创建窗体区域的实例后但在窗体区域显示前发生。
Occurs after an instance of the form region is created but before the form region appears.
在创建窗体区域的实例后但在窗体区域显示前发生。
Occurs after an instance of the form region is created but before the form region appears.
应用推荐