MobileComponentCollectionAdd 方法 (MobileComponent) |
将控件添加到窗体中。
命名空间:
Smobiler.Core.Controls
程序集:
Smobiler.Core (在 Smobiler.Core.dll 中) 版本:6.0.651.17422+f85e28ffe3fdebbfe720c8c2dde0db495f1a52ab
语法public int Add(
MobileComponent value
)
Public Function Add (
value As MobileComponent
) As Integer
参数
- value
- 类型:Smobiler.Core.ControlsMobileComponent
要添加到窗体中的 Control。
返回值
类型:
Int32[缺少 "M:Smobiler.Core.Controls.MobileComponentCollection.Add(Smobiler.Core.Controls.MobileComponent)" 的 <returns> 文档]
备注
可以使用此方法将控件添加到窗体中。如果要将一组已经创建的控件添加到窗体中,请使用 ControlCollection.AddRange 方法。
参见