界面上:
Infragistics.Win.UltraWinToolbars.UtraToolbarsManager —— tbOneGrid
Windows.Forms.ImageList —— imageList1 (Images集合中添加上图标)
代码:
private void InitializeComponent()
{
Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("tbTop");
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool(&