ToolBar.ToolBarButtonCollection.Add 方法
将新的工具栏按钮添加到工具栏按钮集合的末尾。
重载列表
名称 | 说明 |
---|---|
ToolBar.ToolBarButtonCollection.Add (String) | 使用指定的 ToolBarButton.Text 属性值将一个新工具栏按钮添加到工具栏按钮集合的末尾。 |
ToolBar.ToolBarButtonCollection.Add (ToolBarButton) | 将指定的工具栏按钮添加到工具栏按钮集合的末尾。 由 .NET Compact Framework 支持。 |
请参见
参考
ToolBar.ToolBarButtonCollection 类
ToolBar.ToolBarButtonCollection 成员
System.Windows.Forms 命名空间
Remove
Clear