// 局域网主机搜索
// 作者:nanfansky 【程序编程相关:刚学编程,写了个判断独立点与多边形位置关】// 日期:2005.01.12 【推荐阅读:.net 有关多态性的学习笔记。 】using system; 【扩展信息:在VB.NET中实现文件的拖放 】
// 参考:http://blog.aspcool.com/jiezhiusing system.drawing;using system.collections;using system.componentmodel;using system.windows.forms;using system.data;using system.net;using system.threading;namespace windowlansearch
{ /// <summary> /// form1 的摘要说明. /// </summary> public class form1 : system.windows.forms.form { private system.windows.forms.textbox textbox1; private system.windows.forms.button button1; private string[,] lanhost; private system.windows.forms.progressbar progressbarsearch; private thread[] thread; private system.windows.forms.listview listview1; private system.windows.forms.columnheader columnheader1; private system.windows.forms.columnheader columnheader2; private string str; /// <summary> /// 必需的设计器变量. /// </summary> private system.componentmodel.container components = null;public form1()
{ // // windows 窗体设计器支持所必需的 // initializecomponent(); initlanhost(); progressbarsearch.maximum = 255;//
// todo: 在 initializecomponent 调用后添加任何构造函数代码 // }... 下一页