C#DataSet监视工具2.0(DataSet Watch 2.0)
DataSet Watch 2.0
By Osama AbbasAn enhanced DataSet Visualizer for Visual Studio 2005.
Visual Studio 2005加强版数据集可视化工具
Introduction
I’ve been using the excellent VS2003 add-in called DataSet QuickWatch by Mohammed Barqawi, and also its enhanced version by Fahad Khalil, for a long time now. Visual Studio 2005 has Visualizers, but the default one for DataSet
s is too simplistic. So inspired by DataSet QuickWatch, I decided to create an advanced Visualizer for large DataSet
s.
介绍
我使用了很长时间Mohammed Barqawi写的DataSet QuickWatch Excellent for VS2003 插件及Fahad Khalil改进后的加强版。
Visual Studio 2005自带的DataSet可视化工具太过简单,因此DataSet QuickWatch给我带来的灵感促使我创建一个更强大的
DataSet可视化工具。
The Code
One of the greatest features of Visual Studio 2005 is Visualizers. These are viewers for examining the values of complex type variables at runtime. The procedure I followed for creating a Visualizer was as follows:
代码
Visual Studio 2005 最伟大的特性之一是可视化, 如:在运行时检查的复杂类型变量的监视器(Viewer).
下面逐步讲解我的实现过程:
Create the Visualizer
Create a project of type "Class Library". Rename your .cs file / class to your desired name.
Add a reference to Microsoft.VisualStudio.DebuggerVisualizers.dll and add the corresponding using
clause to your class.
创建一个类库工程,重命名.cs文件。
添加引用 "Microsoft.VisualStudio.DebuggerVisualizers.dll " , 在类上面添加对应的using语名.
如:
using Microsoft.VisualStudio.DebuggerVisualizers;
原文:
http://www.codeproject.com/KB/database/DataSet_Watch2.aspx
www.csframework.com 翻译
扫一扫加作者微信