ComponentOne Menus and Toolbars for WinForms 控件
问题描述:ComponentOne Menus and Toolbars for WinForms 控件问题解答:ComponentOne提供一系列导航和菜单控件,包括Office样式的NavBar、经典Windows XP风格的TopicBar、源自OneNote的圆形菜单RadielMenu以及应用系统不可或缺的强大菜单和工具栏集合。将这些控件直接用于您的系统中,将在大幅缩短时间的前提下,为您的用户带来完美的用户体验。
关键代码:
private C1.Win.C1Command.C1CommandMenu c1CommandMenu_File = new C1.Win.C1Command.C1CommandMenu();
this.c1CommandMenu_File.Text = "文件";
private C1.Win.C1Command.C1CommandLink c1CommandLink1 = new C1.Win.C1Command.C1CommandLink();
this.c1CommandLink1.Command = this.c1CommandMenu_File;
private C1.Win.C1Command.C1MainMenu c1MainMenu1 = new C1.Win.C1Command.C1MainMenu();
this.c1MainMenu1.CommandLinks.AddRange(new C1.Win.C1Command.C1CommandLink[] {this.c1CommandLink1,});
效果截图:
源码下载:
用C1 Menus and Toolbars创建菜单和工具栏示例
页:
[1]