首Html代码

学有所用,不然就失去意义。

子标题

导航

2011年6月10日

ToolBoxItem

摘要: 自动添加或删除,自定义控件 内部的子控件。。。。/Files/tssing/ToolBoxItem.rar 阅读全文

posted @ 2011-06-10 23:31 tssing 阅读(352) 评论(0) 推荐(0) 编辑

2011年6月7日

演练:部署和使用自定义 Web 服务器控件

摘要: 演练:部署和使用自定义 Web 服务器控件.NET Framework 4 其他版本 Visual Studio 2008 Visual Studio 2005 本演练演示如何创建和测试自定义 ASP.NET Web 服务器控件。在本演练中,您将学会如何执行以下任务:创建一个 ASP.NET Web 服务器控件。通过向该控件添加元数据来指定安全设置和设计时行为。在配置文件和该控件的程序集中指定一个标记前缀。指定一个供该控件在 Visual Studio 工具箱中使用的图标。将该控件编译为程序集并添加项目引用,以便在同一解决方案的另一个项目中使用它。在网页中测试该控件,并使用“属性”窗口或 In 阅读全文

posted @ 2011-06-07 11:56 tssing 阅读(1118) 评论(0) 推荐(0) 编辑

2011年5月1日

OPC。NET

摘要: View Code privateOpc.Da.SubscriptionStatestate=null;privateOpc.Da.Subscriptionsubscription=null;privateOpc.Da.Serverm_server=null;privateOpcCom.ServerEnumeratorm_discovery=newOpcCom.ServerEnumerator();Specificationm_specification=Specification.COM_DA_20;string[]hosts=m_discovery.EnumerateHosts();Opc 阅读全文

posted @ 2011-05-01 22:14 tssing 阅读(1524) 评论(1) 推荐(0) 编辑

2011年4月22日

在 Visual C# .NET 中实现自定义集合

摘要: View Code usingSystem;usingSystem.Collections;classTempClass{publicclassCustomCollection:ICollection{privateint[]intArr={1,5,9};privateintCt;publicCustomCollection(){Ct=3;}voidICollection.CopyTo(ArraymyArr,intindex){foreach(intiinintArr){myArr.SetValue(i,index);index=index+1;}}IEnumeratorIEnumerable 阅读全文

posted @ 2011-04-22 10:23 tssing 阅读(409) 评论(0) 推荐(0) 编辑

2011年4月17日

OPCDAAuto.dll 连接小结

摘要: MyItem=newOPCItem[10];MyServer=newOPCAutomation.OPCServer();objectaopcserver=MyServer.GetOPCServers();for(inti=1;i<((Array)(aopcserver)).Length;i++){listBox1.Items.Add(((Array)(aopcserver)).GetValue(i));}MyServer.Connect(listBox1.Items[0].ToString(),"");MyGroup=MyServer.OPCGroups.Add(&q 阅读全文

posted @ 2011-04-17 22:56 tssing 阅读(3460) 评论(0) 推荐(0) 编辑

2009年6月2日

组态控件ForModBus Visual Studio 2008.net 自如制作工业监控系统 深度寻合作

摘要: 下载文件包含最新的文件包:/Files/tssing/组态控件ForModBus.rar串行基础控件库 Version 2009目前支持以下协议:Visual Studio 中 工具箱:摘要:在工程测量中,数据采集技术是一个非常重要的环节,广泛应用于测控领域。数据采集技术主要研究信息数据的采集、存储、处理以及控制的问题。随着计算机技术的发展,基于计算机的数据采集系统应用越来越广泛。在Visual ... 阅读全文

posted @ 2009-06-02 19:03 tssing 阅读(5222) 评论(3) 推荐(0) 编辑

2009年4月27日

c# 画曲线 控件

摘要: /Files/tssing/曲线.rar Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System; using System.Collections.Generic; using System.Text; using ... 阅读全文

posted @ 2009-04-27 22:08 tssing 阅读(4834) 评论(2) 推荐(0) 编辑

2009年4月12日

自定义组件 UITypeEditor

摘要: /Files/tssing/UITypeEditor.rar CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.ComponentModel;using System.Drawing;u... 阅读全文

posted @ 2009-04-12 12:59 tssing 阅读(4615) 评论(3) 推荐(1) 编辑

2009年3月12日

自由拖动的控件

摘要: /Files/tssing/MoveControl.rar Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System; using System.Collections.Generic; using System.Te... 阅读全文

posted @ 2009-03-12 14:31 tssing 阅读(2504) 评论(11) 推荐(0) 编辑

2009年3月11日

Drag and Drop control

摘要: 在Winform窗体中通过鼠标拖动,改变控件的位置。在拖动过程中,跟随鼠标显示一个与被拖动控件大小一样的黑框,用以模拟拖动效果。如下图: 以下是源代码。这里拖动了一个Button控件。如果需要,还可以在拖动时改变光标。 /Files/tssing/FormDrag.rar Code Code highlighting produced by Actipro CodeHighlighter (... 阅读全文

posted @ 2009-03-11 20:02 tssing 阅读(2014) 评论(4) 推荐(0) 编辑

页脚Html代码