登录
首页 » C# » WPFArrows-rerwe

WPFArrows-rerwe

于 2016-09-07 发布 文件大小:18KB
0 132
下载积分: 1 下载次数: 1

代码说明:

  ArcGIS Engine secondary development of elements of export SHP files example

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论


0 个回复

  • ghOst-Remote-1.0
    ghOst远控1.0源码,相比于3.6更稳定,视频超快。(ghOst Remote Control 1.0 source code, compared to 3.6 more stable, ultra-fast video.)
    2020-07-30 14:38:37下载
    积分:1
  • se332
    基于PLC的泵车智能臂架运动控制器的实现.Based on the PLC pump intelligent arm support motion controller.(Based on the PLC pump intelligent arm support motion controller.)
    2012-01-15 10:42:52下载
    积分:1
  • android物流管理源码(android 调用webservice实现)
    android物流管理源码(android 调用webservice实现)
    2015-06-23下载
    积分:1
  • CGraphDemo
    MFC写的各种图形报表,如柱状图,饼状图,折线图,全部集成,没有用微软控件,方便移植( MFC to write a variety of graphical reports, such as histogram, pie chart, line graph, all integrated with Microsoft, no control, easy to transplant )
    2016-12-08 17:02:28下载
    积分:1
  • c# 扫描IP Http Header
    c# 扫描IP Http Headerusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Threading;using System.IO;namespace HScan{ public partial class Form1 : Form { int _currentThreads = 0; int _maxThreads = 100; Thread main = null; Thread mt = null; List threads = new List(); public Form1() { InitializeComponent(); Control.CheckForIllegalCrossThreadCalls = false; } private void btnStart_Click(object sender, EventArgs e) { btnStart.Enabled = false; if (txtStart.Text.Trim() == "") { MessageBox.Show("起始IP不能为空."); return; } if (txtEnd.Text.Trim() == "") { MessageBox.Show("结束IP不能为空."); return; } int ts = Convert.ToInt32(txtThreads.Text); _maxThreads = ts; string startIp = txtStart.Text; string endIp = txtEnd.Text; TParameter tp=new TParameter(); tp.StartIp=startIp; tp.EndIp=endIp; tp.ThreadCount=ts; main = new Thread(new ParameterizedThreadStart(StartMe)); main.Start(tp); } protected void ThreadManage() { Thread c=null; while (true) { System.Object lockThis = new System.Object(); lock (lockThis) { for (int i = 0; i < threads.Count; i ) { if (threads[i] != null && !threads[i].IsAlive) { c = threads[i]; break; } } if (c != null) { threads.Remove(c); } } } } protected void StartMe(object ob) { mt = new Thread(new ThreadStart(ThreadManage)); mt.Start(); TParameter p = ob as TParameter; string curIp = p.StartIp; while (true) { for (int i = 0; i < _maxThreads; i ) { if (curIp != "") { if (_currentThreads >= _maxThreads) break; System.Object lockThis = new System.Object(); lock (lockThis) { _currentThreads ; if (_currentThreads > _maxThreads) _currentThreads = _maxThreads; string tip = curIp; Thread t = new Thread(new ParameterizedThreadStart(Run)); t.Start(tip); threads.Add(t); curIp = IPUtility.getLastIp(curIp, p.EndIp, 1); } } else { break; } } } } protected void Run(object ob) { string ip = ob.ToString(); SocketGetHead h = new SocketGetHead(); string ret = h.GetHtml(ip, 80); if (ret.IndexOf("DVRDVS-Webs") > 0) { ListViewItem item = new ListViewItem(); item.SubItems[0].Text = (listView1.Items.Count 1).ToString(); ListViewItem.ListViewSubItem lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = ip; item.SubItems.Add(lvSubItem); lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = "DVRDVS-Webs"; item.SubItems.Add(lvSubItem); listView1.Items.Add(item); } System.Object lockThis = new System.Object(); lock(lockThis) { lblCurIp.Text = ip; _currentThreads--; if (_currentThreads < 0) _currentThreads = 0; } } private void tsmCopy_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count > 0) { string ip = listView1.SelectedItems[0].SubItems[1].Text; Clipboard.SetText(ip); } } private void tsmExport_Click(object sender, EventArgs e) { StreamWriter writer = new StreamWriter(AppDomain.CurrentDomain.BaseDirectory "\export.txt",true); foreach (ListViewItem item in listView1.Items) { string ip=item.SubItems[1].Text; writer.WriteLine(ip); writer.Flush(); } writer.Flush(); writer.Close(); MessageBox.Show("导出成功!"); } private void Form1_FormClosing(object sender, FormClosingEventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } Thread.Sleep(5000); } private void btnStop_Click(object sender, EventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } btnStart.Enabled = true; } }}
    2014-06-23下载
    积分:1
  • lsmm
    基于ENVI-idl的线性光谱混合分解模型代码(Linear Spectral Unmixing Model)
    2020-06-29 07:00:02下载
    积分:1
  • xinheike
    宁俊明编写的新黑客点击实战教程 宁俊明编写的新黑客点击实战教程 宁俊明编写的新黑客点击实战教程 (Ning Junming Click combat hackers write new tutorials Ningjun Ming prepared a new tutorial Ningjun Ming actual preparation of hacker hits new combat tutorial hacker hits)
    2010-09-07 16:37:18下载
    积分:1
  • Realtime
    SMACrossover strategy using c##
    2017-12-28 08:55:13下载
    积分:1
  • SimpleCryptographer
    DES - Cryptograther using c#
    2013-11-08 13:37:10下载
    积分:1
  • ST7565
    驱动液晶模块,芯片是ST7565R,使用的串行口驱动模式(LCD driver module, the chip is ST7565R, drive mode using the serial port)
    2014-04-10 15:47:06下载
    积分:1
  • 696518资源总数
  • 104639会员总数
  • 26今日下载