会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
armyfai博客
首页
新随笔
管理
订阅
上一页
1
···
5
6
7
8
9
10
11
12
13
···
18
下一页
2014年11月24日
C# winform pictureBox如何突出显示,放大并给pictureBox边框变色
摘要: PictureBoxold=null; privatevoidpictureBox2_Click(objectsender,EventArgse) { PictureBoxp=(PictureBox)sender; if(p==old)return; if(old!=null) { old.Widt...
阅读全文
posted @ 2014-11-24 17:52 armyfai
阅读(2867)
评论(0)
推荐(0)
2014年11月20日
C#图片无损压缩
摘要: //引用命名空间 using System.Drawing.Imaging; using System.Drawing; using System.Drawing.Drawing2D;?#region GetPicThumbnail /// /// 无损压缩图片 /// /// 原图片 /// ...
阅读全文
posted @ 2014-11-20 15:22 armyfai
阅读(351)
评论(0)
推荐(1)
2014年10月30日
关于线程的,一个金典算法
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace threaddemo{ class Program { ...
阅读全文
posted @ 2014-10-30 14:36 armyfai
阅读(211)
评论(0)
推荐(1)
C#中byte[]与string的转换
摘要: C#中byte[]与string的转换 1、 System.Text.UnicodeEncoding converter = new System.Text.UnicodeEncoding(); byte[] inputBytes =converter.GetBytes(inputString); ...
阅读全文
posted @ 2014-10-30 08:53 armyfai
阅读(482)
评论(0)
推荐(0)
2014年10月25日
C# FileSystemWatcher 在监控文件夹和文件时的用法
摘要: 概述最近学习FileSystemWatcher的用法,它主要是监控一个文件夹,当文件夹内的文件要是有更改就要记录下来,我就整理下我对FileSystemWatcher 的理解和用法.FileSystemWatcher 用法在应用FileSystemWatcher对象之前,你必须了解这个对象的一些基本...
阅读全文
posted @ 2014-10-25 16:26 armyfai
阅读(13653)
评论(0)
推荐(1)
2014年10月14日
如何修改远程桌面连接端口
摘要: 首先打开注册表:运行-regedit:HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\Wds\Repwd\Tds\Tcp键项的 PortNumber的数值数据就是使用的端口,默认值为3389(十进制),可以修改成其...
阅读全文
posted @ 2014-10-14 09:55 armyfai
阅读(417)
评论(0)
推荐(0)
2014年10月8日
delphi基本语法
摘要: 本文参考自《delphi2010语法手册》1. 工程文件结构源文件联系着unit单元,delphi主模块源文件格式为.dpr,其他模块为.pas,一个完整程序由一个.dpr和若干.pas组成。2..dpr 程序结构一个.dpr由程序头、[use从句]、主程序块组成。一个典型工程文件如下:1 prog...
阅读全文
posted @ 2014-10-08 10:09 armyfai
阅读(3299)
评论(0)
推荐(0)
2014年9月22日
SVN使用教程总结
摘要: SVN简介:为什么要使用SVN?程序员在编写程序的过程中,每个程序员都会生成很多不同的版本,这就需要程序员有效的管理代码,在需要的时候可以迅速,准确取出相应的版本。Subversion是什么? 它是一个自由/开源的版本控制系统,一组文件存放在中心版本库,记录每一次文件和目录的修改,Subversio...
阅读全文
posted @ 2014-09-22 11:15 armyfai
阅读(526176)
评论(66)
推荐(151)
2014年9月17日
jQuery常用方法一览
摘要: Attribute:$(”p”).addClass(css中定义的样式类型); 给某个元素添加样式$(”img”).attr({src:”test.jpg”,alt:”test Image”}); 给某个元素添加属性/值,参数是map$(”img”).attr(”src”,”test.jpg”); ...
阅读全文
posted @ 2014-09-17 11:15 armyfai
阅读(1870)
评论(0)
推荐(0)
经典SQL语句大全
摘要: 一、基础1、说明:创建数据库CREATE DATABASE database-name2、说明:删除数据库drop database dbname3、说明:备份sql server---创建 备份数据的deviceUSE masterEXEC sp_addumpdevice 'disk', 'tes...
阅读全文
posted @ 2014-09-17 10:03 armyfai
阅读(2325)
评论(0)
推荐(2)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
18
下一页
公告