VB.net 2010 视频教程 VB.net 2010 视频教程 python基础视频教程
SQL Server 2008 视频教程 c#入门经典教程 Visual Basic从门到精通视频教程
当前位置:
首页 > VB.net教程 >
  • VB.net小技巧——ReoGrid控件添加到工具箱说明

VB.net小技巧——ReoGrid控件添加到工具箱说明
Add Control by Programming for Windows Forms
Install Visual Studio Toolbox Shortcut for Windows Forms
Add Windows Form Control in VB.NET
ReoGrid控件是一个免费的仿execl操作表格的控件。支持带公式的execl表格的加载,这个特性很棒!!
 
Add Control by Programming for Windows Forms
ReoGrid provides different features set editions, and each edition has different reference requirements. Add the references according to edition used in Application.
* Minimum Edition – Minimum feature set (no formula calculation supported)
* Standard Release Edition – Standard features (Recommended)
* Extension Edition – Extended features, including script language execution integration (like VBA)
 
 
If not sure which edition to use, Standard Release Edition with single DLL (unvell.ReoGrid.dll) is recommended.
 
Install Visual Studio Toolbox Shortcut for Windows Forms
To add a shortcut on Visual Studio toolbox, perform the following steps:
 
Right-click on Toolbox panel, click ‘Choose Items…’
 
 
Choose ‘.NET Framework Components tab’
Click ‘Browse…’ button
Choose ‘unvell.ReoGrid.dll’ in open file dialog
 
5.Click OK button to close the dialog
6.Click on the item ReoGridControl appeared at most bottom of toolbar to make it selected:
 
 
Select a range on form designer, when mouse released the ReoGrid spreadsheet component will be added as below:
 
Add Windows Form Control in VB.NET
Import namespaces:
Imports unvell.ReoGrid
1
Create ReoGrid instance and add it into any windows form container, such as Form or Panel.
Dim grid As New MyReoGridControl() With {.Dock = DockStyle.Fill}
Me.Controls.Add(grid)
————————————————
版权声明:本文为CSDN博主「十年老鸟」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/gzy0506/article/details/122373327

相关教程