设计器宿主是到设计时环境的挂钩。
The designer host is the hook into the design-time environment.
设计器宿主使用设计时环境来管理设计器状态、活动(例如,事务)和组件。
The designer host works with the design-time environment to manage designer state, activities (such as transactions), and components.
处理根组件是设计器宿主、设计时环境和用户界面之间的粘合剂的唯一需要技巧的部分。
Handling the root component is the only tricky part of the adhesive between the designer host, the design-time environment, and the user interface.
设计时环境提供了一个窗体设计器和一个属性编辑器,以使您可以操纵组件和生成用户界面。
The design-time environment provides a forms designer and a properties editor to allow you to manipulate components and build user interfaces.
该过程的最后一步是将服务实现挂钩到设计时环境中—在讨论完如何实现设计器宿主之后,我将演示如何进行挂钩。
The final step in the process is to hook the service implementation into the design-time environment, which I'll demonstrate how to do after I discuss how to implement the designer host.
既然您已经了解了设计时环境背后的基本概念,那么我将以它们为基础来分析窗体设计器的体系结构(请参见图3)。
Now that you understand the basic concepts behind the design-time environment, I'll build upon them by examining the architecture of the forms designer (see Figure 3).
当用户选择组件时,SetSelectedComponents方法由带有所选组件的设计时环境调用。
When users select components, the SetSelectedComponents method is called by the design-time environment with the selected components.
设计时环境使用每个站点上的IDictionaryService来维护在整个设计器框架中使用的数据表。
The design-time environment uses the IDictionaryService on every site to maintain a data table that is used throughout the designer framework.
当您将组件从工具箱中拖放到设计图面上时,设计时环境会使用INameCreationService的实现来生成每个组件的名称。
As you drag and drop components from the toolbox onto the design surface, the design-time environment USES an implementation of INameCreationService to generate each component's name.
如果设计器希望为它正在设计的组件修改设计时环境可用的元数据,则可以通过实现IDesignerFilter来完成该工作。
Designers who want to modify the metadata available to the design-time environment for the component they are designing can do so by implementing IDesignerFilter.
每次调用该方法时,设计时环境都会告诉我们哪些组件受到了影响,以及受到了怎样的影响(通过selectiontypes枚举)。
Each time the method is called, the design-time environment tells us which components are affected and how (via the SelectionTypes enumeration).
它还为组件的已更改事件和正在更改的事件定义了方法,当组件正在更改或已经更改时(例如,当属性更改时),这些方法由设计时环境调用。
It also defines methods for component changed and changing events, which are called by the design-time environment when a component is changing or has changed (such as when a property is changed).
IComponent接口是设计时环境和要在设计图面(例如,VisualStudio窗体设计器)上承载的元素之间的基本协定。
The IComponent interface is the fundamental contract between the design-time environment and an element to be hosted on a design surface (such as the Visual Studio forms designer).
当用户右键单击设计图面上的选项卡控件时,设计时环境将调用IMenuCommandService上的ShowContextMenu方法(请参见图11)。
When a user right-clicks a TAB control on the design surface, the design-time environment calls the ShowContextMenu method on the IMenuCommandService (see Figure 11).
设计时,这两种架构和环境要铭记于心,尽可能使用公共构建块。
Design with both architectures and environments in mind using common building blocks when possible.
研究表明,当将难题作为一个问题设计时,将创造一个环境,相关各方可以在一起自由讨论可能的解决方案。
Studies show that when an issue is framed as a question, an environment is created where the parties involved can brainstorm possible solutions.
数控机床造型必须与功能相结合,更要与环境相适应,进行设计时要充分考虑安全因素以及数控机床外观设计的自我检验等。
The modelling must unify with the function and must adapt with the environment, we must consider the safety factor and examines of nc machine's appearance fully when we carry on the design.
由于业主喜欢山野的环境,因此希望在空间设计时能够巧妙嵌入山林和户外元素,享受自然的美好。
Since the client also enjoyed the mountains, the space was specially but subtly designed to hint at mountain landscapes and the great outdoors.
结论小鼠哮喘炎症程度受饲养环境、种属、佐剂及激发方法的影响,实验设计时应予充分的注意。
Conclusion The asthmatic inflammatory degree of mice was influenced by feeding surroundings, strains, adjuvant and challenge methods, which should be considered in experimental design.
而数控系统一般在电磁环境较强的工业生产现场使用。所以数控系统在设计时应该对电磁干扰具有足够的抗干扰能力。
The CNC system is used for industrial production field with stronger electromagnetic environment and should have enough anti-interference capability when it is designed.
设计师在设计时考虑的因素包括气候,环境和背景等。
I designed with the consideration of climate, environment and surrounding context.
在高温环境下有紧密性要求的螺栓联接,在设计时应考虑应力松弛。讨论了关于应力松驰问题的计算思路和解决方法。
Stress relaxation should be taken into consideration while designing tight bolt connection under a high temperature. The paper discusses the calculation thought and solution about stress relaxation.
由于分布式多层应用系统均在网络环境下运行,所以,它的执行效率成为设计时不可忽视的重点。
Because of the running of distributed-tier MIS based on net environment, so should pay more attention to the efficiency when design this system.
在设计时,你要判断的是,当景观建成时,这些景观究竟在现实环境中具什么样的意义,与周围建立什么样的关系。
When design, you must judge, when the landscape completes, actually do these landscapes in the realistic environment any type significance, establish any type with periphery the relations.
在结构设计时,充分考虑到除湿机的工作环境特点,对其结构进行了优化设计。
When carries on the structural design, fully considered dehumidifier working conditions to carry on the structure optimization design.
因此网络课程设计者进行环境设计和交互设计时可主要从以上学习者类型来考虑,当然也要兼顾其它类型的学习者。
So, we should think more about online college student's characteristics mentioned above when design online curriculum environment and interaction as well as well other learning styles.
由于本开关电源系统应用环境恶劣,在硬件电路设计时,分析了电磁兼容问题,从硬件设计上保证了系统工作稳定性。
This SMPS is applied in execrable circumstances, so when designing the hardware circuit, EMC problem is also discussed, which insures the SMPS system working stability.
在软件系统设计时考虑多种语言程序之间的接口设计及运行环境,并就软件系统进一步开发研究进行了探讨。
The software text and signs dictionary of the software system are complied. Interface design and run environment and further development of the software system are researched.
在空间设计时要考虑环境因素,比如设计师需要高度,而行政人员无所谓的,这是深层次的挖掘。
To consider when designing a space environmental factors, such as the designer requires a high degree, and administrative staff does not matter, this is the depth of the excavation.
玻璃纤维增强塑料(GFRP)材料的力学性能对工作环境温度很敏感,在设计时应充分考虑环境温度对此的影响。
Temperature is an important factor influencing the mechanical properties of glass fiber reinforced plastic(GFRP) material, and it should be considered sufficiently.
应用推荐