using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.IO;namespace ConsoleApplic...
分类:
Windows开发 时间:
2015-01-19 20:30:24
收藏:
0 评论:
0 赞:
0 阅读:
416
try { string filePath = Application.StartupPath + "tst.txt"; FileStream fs = new FileStream(filePath, FileMode.Append, FileAccess.W...
分类:
Windows开发 时间:
2015-01-19 20:28:24
收藏:
0 评论:
0 赞:
0 阅读:
349
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:
Windows开发 时间:
2015-01-19 20:28:14
收藏:
0 评论:
0 赞:
0 阅读:
497
win8.1CPU使用率过高、卡顿、破音并且我没有开家庭是什么原因呢?相信也有很多人碰上了跟我一样的问题,有人说关家庭组、关系统保护功能、关微软自带的windows windefend、关磁盘碎片整理、关微软自带的windows windefend、关windows search服务、关快速启动。用win8.1就是因为他启动快搜索文件快,如果把这些都禁止了那要win8.1做什么呢?而且这些真的跟卡...
分类:
Windows开发 时间:
2015-01-19 19:11:34
收藏:
0 评论:
0 赞:
0 阅读:
586
实现效果图1:实现效果图2:实现效果图3:异形窗体的实现思路(一)、采用UpdateLayeredWindow这个api函数基于Png图alpha通道绘制异形窗口 优点:真正意义上的异形窗口 缺点:用了WS_EX_LAYERED后当前窗体不处理paint事件,所以窗体上无法绘制控件,但这个控...
分类:
Windows开发 时间:
2015-01-19 18:54:36
收藏:
0 评论:
0 赞:
0 阅读:
389
关于C#程序优化的五十种方法这篇文章主要介绍了C#程序优化的五十个需要注意的地方,使用c#开发的朋友可以看下一、用属性代替可访问的字段1、.NET数据绑定只支持数据绑定,使用属性可以获得数据绑定的好处;2、在属性的get和set访问器重可使用lock添加多线程的支持。 二、readonly(运行.....
分类:
Windows开发 时间:
2015-01-19 18:51:05
收藏:
0 评论:
0 赞:
0 阅读:
230
C#从Sharepoint上获取List数据。...
分类:
Windows开发 时间:
2015-01-19 17:12:44
收藏:
0 评论:
0 赞:
0 阅读:
769
有个好友,他系统盘不够空间了,各种右键属性什么的,发现了一个“压缩此驱动器以节约磁盘空间”,就选上了,结果开机提示bootmgr被压缩,无法启动操作系统。解决方法很简单,进入一个pe系统或者用系统盘启动。pe比较简单,直接把本地硬盘中的系统盘的那个勾去掉,确定就解决了..
分类:
Windows开发 时间:
2015-01-19 16:00:16
收藏:
0 评论:
0 赞:
0 阅读:
301
JDK的环境变量的安装,记录一下,以便方便忘记看,主要是window和ubuntu系统下的安装和环境变量的配置
JDK下载:http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
下载对应系统的JDK
一、Window下安装JDK配置环境:
安装很简单,选择存放目录就行,基本上一...
分类:
Windows开发 时间:
2015-01-19 15:50:04
收藏:
0 评论:
0 赞:
0 阅读:
338
In the game of Sports, the object is have more points than the other team after a certain amount of time has elapsed. Scores are denoted by two hyphen-separated integers. For example, scores may inclu...
分类:
Windows开发 时间:
2015-01-19 15:42:38
收藏:
0 评论:
0 赞:
0 阅读:
320
private void listView1_SelectedIndexChanged(object sender, EventArgs e) { listView1.FullRowSelect = true; IDC_DIALOG1 menu1 = new ID...
分类:
Windows开发 时间:
2015-01-19 15:36:36
收藏:
0 评论:
0 赞:
0 阅读:
408
定义: 结构是用户自定义的值类型代码样式:struct Pair{ public int X, Y; //公有变量名单词的首字母大写(PascalCase规则)}struct Pair{ private int x, y; //非公有变量名第一个单词的首字母小写(camelCase规则)}struc...
分类:
Windows开发 时间:
2015-01-19 14:12:14
收藏:
0 评论:
0 赞:
0 阅读:
395
简而言之,在WEBAPI中采用GET方法方法时在接受参数的时候会在参数前申明 [fromuri]标注从uri中获取如:[HttpPost]public IHttpActionResult AddProductToCart_Details([fromuri]int productId,[fromuri...
分类:
Windows开发 时间:
2015-01-19 14:03:44
收藏:
0 评论:
0 赞:
0 阅读:
282
免责申明(必读!):本博客提供的所有教程的翻译原稿均来自于互联网,仅供学习交流之用,切勿进行商业传播。同时,转载时不要移除本申明。如产生任何纠纷,均与本博客所有人、发表该翻译稿之人无任何关系。谢谢合作!
原文链接地址:http://www.raywenderlich.com/3888/how-to-create-a-game-like-tiny-wings-part-1
PS...
分类:
Windows开发 时间:
2015-01-19 12:50:14
收藏:
0 评论:
0 赞:
0 阅读:
374
//直接绑定DataTable string pnsql = @"select pId,pTypeId,pName,pCellPhone,pHomePhone,phoneType.ptName from phoneNum,phoneType where...
分类:
Windows开发 时间:
2015-01-19 12:23:24
收藏:
0 评论:
0 赞:
0 阅读:
356
{"Tilte": "\u535a\u5ba2\u56ed", "Href": "http://www.cnblogs.com"}经常遇到这样内容的json字符串,原来是把其中的汉字做了Unicode编码转换。Unicode编码: 将汉字进行UNICODE编码,如:“王”编码后就成了“\王”,UN....
分类:
Windows开发 时间:
2015-01-19 12:13:07
收藏:
0 评论:
0 赞:
0 阅读:
201
Question:AlongarrayA[]isgiventoyou.Thereisaslidingwindowofsizewwhichismovingfromtheveryleftofthearraytotheveryright.Youcanonlyseethewnumbersinthewindow.Eachtimetheslidingwindowmovesrightwardsbyoneposition.Followingisanexample:Thearrayis[13-1-35367],andwis3...
分类:
Windows开发 时间:
2015-01-19 11:04:54
收藏:
0 评论:
0 赞:
0 阅读:
372
WindowsazureWeb应用程序代理服务器—ADFS的extranet访问权限我们之前介绍了,在windowsazure下配置联合身份验证服务,实现通过本地的ActiveDirecroty用户验证范根windowsazureActiveDirecroty服务,默认操作后,只有在同一个内部网络才能访问,那我们如果要外部访问的话,我们..
分类:
Windows开发 时间:
2015-01-19 11:03:55
收藏:
0 评论:
0 赞:
0 阅读:
425
这是MSDN中的说明:
异常
条件
CookieException
name 为 null 或空字符串 ("")。
- 或 -
name 包含未经授权的字符。 使用以下字符之一将会导致异常:
等号 (=)
分号 (;)
逗号 (,)
换行符 (\n)
回车符 (\r)
制...
分类:
Windows开发 时间:
2015-01-19 11:01:34
收藏:
0 评论:
0 赞:
0 阅读:
291
数位DP第一发。发现数位DP与我自己YY的数位DP不太一样啊。。。sad。。
数位DP是用dfs+记忆化搜索,从后面往前推。第一次写数位DP,调试了好长时间。。。
代码如下:
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std...
分类:
Windows开发 时间:
2015-01-19 10:59:54
收藏:
0 评论:
0 赞:
0 阅读:
250