/// <summary> /// 增加一个按钮(快捷方式) /// </summary> /// <param name="p_PosIndex">增加位置:注意调用时必须在Form_Load中使用,否则装载出来显示有问题</param> /// <param name="_BaseToolBar">Bar</param> /// <param name="p_Index">按钮序号</param> /// <param name="p_Name">按钮名称</param> /// <param name="p_Caption">按钮文字</param> /// <param name="p_ImageIndex">图片序号</param> public void ToolBarItemAdd(int p_PosIndex, int p_ImageIndex, string p_Name, string p_Caption, bool p_BeginGroup, System.EventHandler p_ClickEvent, DevComponents.DotNetBar.eShortcut p_Shortcut) { ProcessToolBar.ToolBarItemAdd(p_PosIndex, _BaseToolBar, p_ImageIndex, p_Name, p_Caption, p_BeginGroup, p_ClickEvent, p_Shortcut); }
/// <summary> /// 增加一个按钮 /// </summary> /// <param name="p_PosIndex">增加位置:注意调用时必须在Form_Load中使用,否则装载出来显示有问题</param> /// <param name="_BaseToolBar">Bar</param> /// <param name="p_Index">按钮序号</param> /// <param name="p_Name">按钮名称</param> /// <param name="p_Caption">按钮文字</param> /// <param name="p_ImageIndex">图片序号</param> public void ToolBarItemAdd(int p_PosIndex, int p_ImageIndex, string p_Name, string p_Caption, bool p_BeginGroup, System.EventHandler p_ClickEvent) { ProcessToolBar.ToolBarItemAdd(p_PosIndex, _BaseToolBar, p_ImageIndex, p_Name, p_Caption, p_BeginGroup, p_ClickEvent); }