C#根据进程(程序)名称获取进程(窗口)的句柄?
C#如何获取其他进程(程序)的句柄(不使用FindWindow)?
使用函数:
CreateToolhelp32Snapshot
GetCurrentWindowHandle
EnumWindowsProc...
分类:
Windows开发 时间:
2014-10-30 21:01:04
收藏:
0 评论:
0 赞:
0 阅读:
692
今天我们来学 socket 发送结构体1. 先看要发送的结构体usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Runtime.InteropServices;namespaceLin.p2p.Mo{//...
分类:
Windows开发 时间:
2014-10-30 20:50:03
收藏:
0 评论:
0 赞:
0 阅读:
272
1. 服务端程序1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Text;4usingSystem.Net.Sockets;5usingSystem.Net;67namespaceConsoleApplication18{9cla...
分类:
Windows开发 时间:
2014-10-30 20:42:13
收藏:
0 评论:
0 赞:
0 阅读:
394
今天来写一个UPD1.服务端:usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Net.Sockets;usingSystem.Net;namespaceConsoleApplication1{class...
分类:
Windows开发 时间:
2014-10-30 20:42:03
收藏:
0 评论:
0 赞:
0 阅读:
318
读取文件:var fs = require('fs');fs.readdir(_dirname,function(err,files) { //当前文件为'.' ; console.log(files);})
分类:
Windows开发 时间:
2014-10-30 20:41:13
收藏:
0 评论:
0 赞:
0 阅读:
318
获取文件路径 -------------------------------------------------------------------------winform获取文件路径:string str1 =Process.GetCurrentProcess().MainModule.File...
分类:
Windows开发 时间:
2014-10-30 20:40:23
收藏:
0 评论:
0 赞:
0 阅读:
810
现在来传一个图片看看, 改改程序, 看看服务端图片为 140K, 1.jgp1. 服务端1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Text;4usingSystem.Net.Sockets;5usingSystem.Net;...
分类:
Windows开发 时间:
2014-10-30 20:36:23
收藏:
0 评论:
0 赞:
0 阅读:
448
c#中要使用变量,必须先声明它们。微软建议:对于简单的变量,使用camelCase规则,而对于比较高级的命名则使用PascalCase规则。c#中声明变量的语法是一 简单类型变量1.1 数值类型变量数值类型是最简单的变量类型,数值类型有多种。整数类型的变量类型有:类型别 名允许的值sbyte Sy....
分类:
Windows开发 时间:
2014-10-30 20:30:43
收藏:
0 评论:
0 赞:
0 阅读:
325
本文由 www.169it.com 收集整理 Windows清理助手能对我们已知的木马和恶意软件进行彻底的扫描与清理。提供系统扫描与清理、在线升级功能。独特的清理方式,使清理助手能轻易对付强行驻留系统、变名等一系列恶意行...
分类:
Windows开发 时间:
2014-10-30 19:27:44
收藏:
0 评论:
0 赞:
0 阅读:
365
怎样将文件从window系统复制到linux系统上,其实有几种方法,比如,将windows上的文件共享出来,通过cifs协议mount到linux本地来,然后再cp一下。又或者通过FTP,但这些都有些麻烦。我们知道,在linux下有个命令scp,它可以实现在linux系统之间快速地互拷文件,前题是linux上开..
分类:
Windows开发 时间:
2014-10-30 19:22:54
收藏:
0 评论:
0 赞:
0 阅读:
468
redis windows 下载 安装...
分类:
Windows开发 时间:
2014-10-30 19:15:03
收藏:
0 评论:
0 赞:
0 阅读:
312
window演示基础(windows presentation Foundation)用于windowsw图形显示系统InitializeComponent()方法的工作就是system.windows.Application类的loadComponent()方法loadComponent()方法从...
分类:
Windows开发 时间:
2014-10-30 19:06:03
收藏:
0 评论:
0 赞:
0 阅读:
394
接口内可以定义:索引器,属性,函数,事件。均不能用访问修饰符访问 1 public interface IEventInterFace 2 { 3 string this[int index] { get; set; }//索引器 4 List MyList...
分类:
Windows开发 时间:
2014-10-30 19:03:53
收藏:
0 评论:
0 赞:
0 阅读:
310
#region"合并单元格的测试(一列或一行)" // int?是搜索一种类型(可空类型),普通的int不能为null,而用int?,其值可以为null //private int? nextrow = null; //private in...
分类:
Windows开发 时间:
2014-10-30 18:59:33
收藏:
0 评论:
0 赞:
0 阅读:
399
本文由www.169it.com收集整理Windows优化大师是一款功能强大的系统工具软件,它提供了全面有效且简便安全的系统检测、系统优化、系统清理、系统维护四大功能模块及数个附加的工具软件。使用Windows优化大师,能够有效地帮助用户了解自己的计算机软硬件信息;简化操作系统设置步骤;提升计算机运...
分类:
Windows开发 时间:
2014-10-30 18:46:43
收藏:
0 评论:
0 赞:
0 阅读:
325
Func是一种委托,这是在3.5里面新增的,2.0里面我们使用委托是用Delegate,Func位于System.Core命名空间下,使用委托可以提升效率,例如在反射中使用就可以弥补反射所损失的性能。Func 的表现形式分为以下几种:1。Func2。Func3。Func4。Func5。FuncTRe...
分类:
Windows开发 时间:
2014-10-30 18:45:53
收藏:
0 评论:
0 赞:
0 阅读:
308
类型系统: 运行模型: 规则: 1.局部变量使用前须初始化。 2.var 变量须初始化,由编译器推断出类型,是一个语法糖。如是引用类型必须为新建对象。 3.局部变量不能在作用范围内重名。 4.常量须初始化,须编译期值可用,固定为static(静态)。
分类:
Windows开发 时间:
2014-10-30 18:44:23
收藏:
0 评论:
0 赞:
0 阅读:
362
xaml.cs文件:using System;using System.Timers;using System.Windows;using System.Windows.Forms;namespace ControlUsed{ public partial class MainWind...
分类:
Windows开发 时间:
2014-10-30 18:41:43
收藏:
0 评论:
0 赞:
0 阅读:
402
"http://www.centran.com"命名空间SOAP中"sessionId"sessionId需要传入的值new OperationContextScope(voiceServiceReference.InnerChannel); var ticketItem = ...
分类:
Windows开发 时间:
2014-10-30 18:35:03
收藏:
0 评论:
0 赞:
0 阅读:
564
Windows Forms是由Win32 API封装的开发组件,最初是为了替代mfc,但却没有体现与Model View Controller架构对应的特色,进而在.net framework 3.0中推出了wpf,富控件数据显示方面,利用模板功能轻松实现。在winform下要想自定义一些用户控件,...
分类:
Windows开发 时间:
2014-10-30 18:32:23
收藏:
0 评论:
0 赞:
0 阅读:
368