码迷,mamicode.com
首页 > Windows程序 > 周排行
Windows 7 VHD Boot
bcdedit /copy {default} /d "OSinVHD"bcdedit /set {guid} device vhd=[locate:]\windows7.vhdbcdedit /set {guid} osdevice vhd=[locate:]\windows7.vhdbcdedi...
分类:Windows程序   时间:2015-01-19 22:18:19    阅读次数:265
linux与windows共享剪贴板(clipboard)
linux与windows共享剪贴板(clipboard)的方法先说两句废话,其实linux和windows之间不需要共享剪贴板,直接在putty中,按住SHIFT+鼠标选择就可以了。但是作为一种hack行为或者不用鼠标实现复制功能,就需要这种方法了。组合:putty+tmux+vim+mobait...
分类:Windows程序   时间:2015-01-20 00:53:52    阅读次数:1139
微软职位内部推荐-SW Engineer II for Windows System
微软近期Open的职位:Microsoft’s Operating Systems Group delivers the operating system and core user experiences for the whole family of Microsoft devices, for...
分类:Windows程序   时间:2015-01-20 11:41:06    阅读次数:224
树莓派与windows互传文件
安装WinSCP登录即可在左右两侧分别显示windows和树莓派中的文件只需将文件从一侧拖到另一侧即可开始文件的传送
分类:Windows程序   时间:2015-01-20 13:42:52    阅读次数:389
Winform中的DatagridView显示行号
1、设置RowPostPaint 为true2、启用RowPostPaint事件 /// /// DataGridView显示行号 /// /// /// private void dataGridWebConf...
分类:Windows程序   时间:2015-01-20 15:21:20    阅读次数:207
c# 获取路径
一、获取当前文件的路径1.System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName获取模块的完整路径,包括文件名。2.System.Environment.CurrentDirectory获取和设置当前目录(该进程从中启动的...
分类:Windows程序   时间:2015-01-20 17:23:38    阅读次数:448
Chromium M34上Audio API(HTMLMediaElement)播放音乐不能获取currentTime属性更新
测试代码: Duration: currentTime: var element_d = document.getElementById("d"); var element_c = document.getElementById("c"); var A = new Audio("test.mp3"); A.loop=true; A.ondurationchange=function(){...
分类:Windows程序   时间:2015-01-21 11:40:41    阅读次数:222
命令——WPF学习之深入浅出
WPF学习之深入浅出话命令WPF为我们准备了完善的命令系统,你可能会问:“有了路由事件为什么还需要命令系统呢?”。事件的作用是发布、传播一些消息,消息传达到了接收者,事件的指令也就算完成了,至于如何响应事件送来的消息事件并不做任何限制,每个接收者可已用自己的行为来响应事件。也就是说,事件不具有约束力...
分类:Windows程序   时间:2015-01-21 16:31:55    阅读次数:341
C# unchecked运算符
一、C# unchecked运算符unchecked运算符用于取消整型算术运算和转换的溢出检查。二、提示默认情况下,都是unchecked选项。因此,只有在需要把几个未检查的代码行放在一个明确标记为checked的代码块中以后,才需要显式使用unchecked关键字。三、示例using System...
分类:Windows程序   时间:2015-01-21 17:55:20    阅读次数:147
C# 常用函数和方法集汇总
1、DateTime 数字型System.DateTime currentTime=new System.DateTime();1.1 取当前年月日时分秒currentTime=System.DateTime.Now;1.2 取当前年int 年=currentTime.Year;1.3 取当前月in...
分类:Windows程序   时间:2015-01-21 18:06:41    阅读次数:273
C#逻辑运算符
一、C#逻辑运算符C#语言的逻辑运算符是对变量的值、表达式的运算结果进行比较,基比较结果为True或False。二、示例using System;using System.Collections.Generic;using System.Linq;using System.Text;namespac...
分类:Windows程序   时间:2015-01-21 18:07:56    阅读次数:370
C#把DataGridVIew数据导出到Excel函数代码
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using Microsoft.Office.Cor...
分类:Windows程序   时间:2015-01-21 18:18:46    阅读次数:194
C# 理解FileInfo类的Open()方法
我们在对文件进行读写操作之前必须打开文件,FileInfo类为我们提供了一个Open()方法,该方法包含了两个枚举类型值的参数,一个为FileMode枚举类型值,另一个为FileAccess枚举类型值。通过设定这两个参数值,我们可以对文件的访问模式和操作权限进行控制。下面的两个表格分别显示了File...
分类:Windows程序   时间:2015-01-21 19:34:29    阅读次数:273
win7远程桌面报错的其他方法
cmd命令打开组策略:gpedit.msc,然后按照如下图所示操作以下几个链接是在网上找的,解决了一部分用户的问题,但是我的依然没有解决,按照上图的设置成功解决http://bugnotes.net/computer-use/win7ts.htmlhttp://www.xp85.com/html/article-95-926.htmlhttp://blog.csdn.net/m..
分类:Windows程序   时间:2015-01-22 07:05:53    阅读次数:282
excel模版从xp复制到win7系统后出现错误 运行时错误 '429' ActiveX 部件不能创建对象
运行时错误 '429' ActiveX 部件不能创建对象Set objDialog = CreateObject("UserAccounts.CommonDialog")解决办法把 Set objDialog = CreateObject("UserAccounts.CommonDialog"...
分类:Windows程序   时间:2015-01-22 11:04:48    阅读次数:253
Visual C# 的DirectX开发系列一初识DirectX
Visual C# 的DirectX开发系列一...
分类:Windows程序   时间:2015-01-22 11:09:38    阅读次数:250
设置DataGridView的某个单元格为ComboBox
怎么将DataGridView的 某个单元格设为ComboBox的样式而不是整列都改变样式?1、最简单的方法:利用DataGridView提供的DataGridViewComboBoxCell。 写个简单例子:1 DataGridViewComboBoxCell cbCell = new Dat.....
分类:Windows程序   时间:2015-01-22 19:50:09    阅读次数:252
Delphi ListView基本用法大全[delphi]
Delphi ListView基本用法大全本文出处:http://hi.baidu.com/python120/item/4ea85f61af94e55b6895e6ac//增加项或列(字段)ListView1.Clear;ListView1.Columns.Clear;ListView1.Colu...
分类:Windows程序   时间:2015-01-22 23:19:19    阅读次数:362
C#实现可变数量参数,像printf那样
C语言的printf函数,参数的数量可以是 可变的。使用 va_start 和 va_end  实现。 C++中,实现参数可变,可以用 overload。如果参数数量不是很多的话,可以一个参数实现一个函数,两个参数再实现一个函数,三个参数再实现一个函数... 或者使用C的方案。 C#中,也可以用 overload。或者 params 关键字。 下述代码除了演示 ...
分类:Windows程序   时间:2015-01-22 23:26:24    阅读次数:420
C# int.Parse()与int.TryParse()
int i = -1;bool b = int.TryParse(null, out i);执行完毕后,b等于false,i等于0,而不是等于-1,切记。int i = -1;bool b = int.TryParse("123", out i);执行完毕后,b等于true,i等于123;1、(in...
分类:Windows程序   时间:2015-01-23 10:48:10    阅读次数:217
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!