进入安全模式,卸载影子系统,删除所有影子系统的安装目录,在c盘/windows/system32下,找到shadow,直接删除,然后需要在注册表中删除:HKEY_LOCAL_MACHINE/SYSTEM/CURRENT.controlset/services/snpshot这个键值,重启即可。如果还...
分类:
其他好文 时间:
2014-05-26 01:53:24
阅读次数:
305
1 声明 2 System.Windows.Threading.DispatcherTimer
_MessageControler; 3 4 //刷新 5 _MessageControler = new
System.Windows.Threading.Dispatch...
创建或显示字符串时,其文本必须用双引号括起,以指出字符串的开始和结束。这些双引号不会显示出来,这就提出了一个很好的问题:如果要显示双引号该怎么办呢?为显示双引号,Java创建了一个特殊编码/",可放到字符串中。在字符串中遇到该编码时,将其替换为双引号。例如,请看下面的例子:System.out.pr...
分类:
编程语言 时间:
2014-05-26 00:54:36
阅读次数:
288
using System;using System.Collections.Generic;using
System.ComponentModel;using System.Data;using System.Drawing;using
System.Linq;using System.Text;u...
分类:
其他好文 时间:
2014-05-26 00:40:38
阅读次数:
214
publicclassMyTabControl:TabControl{protected
override void OnMouseUp(MouseEventArgs
e){if(e.Button==System.Windows.Forms.MouseButtons.Right){for(int i...
分类:
其他好文 时间:
2014-05-26 00:33:42
阅读次数:
304
C#常用函数表1、DateTime 数字型System.DateTime
currentTime=new System.DateTime();1.1
取当前年月日时分秒currentTime=System.DateTime.Now;1.2 取当前年int 年=currentTime.Year;1.3...
分类:
其他好文 时间:
2014-05-26 00:32:43
阅读次数:
304
form1.cs using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.Text;using Syst...
分类:
其他好文 时间:
2014-05-26 00:25:36
阅读次数:
336
今天在研究微信公众平台 自动接收发送消息的时候,在如下代码: public String
processRequest(HttpServletRequest request) { String respMessage = null; try {
System.err.println(inputStr...
分类:
微信 时间:
2014-05-25 23:47:40
阅读次数:
705
using System;using System.Collections.Generic;using
System.Text;using Word = Microsoft.Office.Interop.Word;namespace ELO.BLL{ /* *
Descrip...
分类:
其他好文 时间:
2014-05-25 23:20:06
阅读次数:
420
POJ 1018 Communication System (动态规划)
题目大意:
有T组测试数据,每组1个n,表示n行,接下来n行,每行一个m,表示有m个管道,每个管道有流量和费用,最后求从n行中,每行选择1个管道,要求 B/P最大 ,B表示所选的那个方案中n个管道的最小的那个的流量,P表示n个管道费用和。
解题思路:
朴素的动态规划,dp[i]记录,当前B为i的P,也就是流量的最小费用和。实现可以利用队列代替滚动数组。...
分类:
其他好文 时间:
2014-05-25 06:58:58
阅读次数:
214