码迷,mamicode.com
首页 > Windows程序
C# Best Practices - Creating Good Properties
Coding PropertiesCode in the GetterCheck the user's credentialsCheck application stateFormat the returned valueLogLazy Loading related data/objectCode...
分类:Windows程序   时间:2016-01-12 19:26:10    阅读次数:201
C#遍历哈希表
usingSystem;usingSystem.Collections;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;namespacean{publicclassCRYSTAL_INFO{publicstaticHashtableINFO=newHashtable();staticCRYSTAL_INFO(){Hashtablehs1=newHashtable();h..
分类:Windows程序   时间:2016-01-12 15:45:10    阅读次数:243
UIScrollViewDelegate-委托方法API
UIScrollViewDelegate-委托方法API在iOS编程中,经常用到UIScrollView控件。自然也会用到UIScrollViewDelegate协议。今天就抽空,研究了一下UIScrollViewDelegate中所有的委托方法。仅做Mark!如有,错误之处,欢迎留言指正,交流!贴...
分类:Windows程序   时间:2016-01-12 15:23:04    阅读次数:222
C# 各种数据类型的最大值和最小值常数
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace TypeMaxMinValue{ class Program { static void ...
分类:Windows程序   时间:2016-01-12 15:15:14    阅读次数:177
phan—php语法静态检查在windows下的配置
php7推出了语法树,于是静态语法分析更方便了。1、先安装php7,到http://windows.php.net/下载php7带openssl的。2、修改php.ini,extension=php_openssl.dllextension=php_sockets.dllextension=php_...
分类:Windows程序   时间:2016-01-12 15:10:02    阅读次数:211
windows安装php的redis扩展及测试(适合php个各个版本)
事前条件: 1. php开发环境已搭建 2. redis已经安装windows安装php的redis扩展 1. 通过 phpinfo(); 函数查看php的信息2.下载redis扩充文件:https://pecl.php.net/package/redis3. 将下载的“php_r...
分类:Windows程序   时间:2016-01-12 15:03:36    阅读次数:194
delphi R3下 跨进程获取DLL信息 NtQueryInformationProcess
unit APIUnit;{ GetProcessModuleHandle API Unit Ring3调用NtQueryInformationProcess实现跨进程获取DLL句柄}interfaceUSES Winapi.Windows,System.SysUtils;type USHORT.....
分类:Windows程序   时间:2016-01-12 15:00:49    阅读次数:1224
C# 引用的程序集没有强名称
首先查一下什么是强名称程序集,见百度百科帖子:http://baike.baidu.com/view/1145682.htm简单来说,就是为了解决Windows Dll Hell问题的,即不同公司开发同名程序集会相互覆盖。所谓强名称,就是使用RSA技术,采用一对公/私秘钥作为程序集的发布者,以进行区...
分类:Windows程序   时间:2016-01-12 13:49:11    阅读次数:480
C# 获取格式
1. 身份证日期DateTime.ParseExact((IDCard.Substring(6, 8)), "yyyyMMdd", System.Globalization.CultureInfo.CurrentCulture); //出生日期DateTime.Now.Year - DateTime...
分类:Windows程序   时间:2016-01-12 13:45:28    阅读次数:210
Windows巧用计划任务实现RunAs的功能
最近开发了一个应用,需要和其他人提供的脚本做接口。条件约束比较严:应用(下面简称APP)需要以SYSTEM启动。脚本(下面简称SCRIPT)不能以SYSTEM启动,而是以特定用户(下面简称UserA)启动。密码要能自动输入。一、Runas运行平台是Windows,第一下想到的是runas,参考了“r...
分类:Windows程序   时间:2016-01-12 13:43:31    阅读次数:278
C#中Page执行顺序
客户端请求页面1、预初始化(OnPreInit)2、初始化(OnInit)3、完成初始化(OnInitComplete)4、载入ViewState(LoadViewState)5、处理回送数据(IPostBackDataHandler)6、Page_OnPreLoad—>Page_OnLoad7、回...
分类:Windows程序   时间:2016-01-12 13:39:06    阅读次数:204
wpf简单界面
菩提本无树,明镜亦非台。 佛性常清净,何处有尘埃! 心是菩提树,身为明镜台。 明镜本清净,何处染尘埃! ...
分类:Windows程序   时间:2016-01-12 13:33:04    阅读次数:281
ASP.NET Web API通过ActionFilter来实现缓存
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Threading; 5 using System.Threading.Tasks; 6 using System.Web....
分类:Windows程序   时间:2016-01-12 13:19:58    阅读次数:324
解决Gradle报错找不到org.gradle.api.internal.project.ProjectInternal.getPluginManager()方法问题
因为本地的AndroidStudio很久没用了,所以想要研究下github上的某个代码的时候,还得重新配下环境打开了几个项目,都是提示如下错误Error:Unable to find method 'org.gradle.api.internal.project.ProjectInternal.ge...
分类:Windows程序   时间:2016-01-12 13:16:43    阅读次数:14038
wing带你玩转自定义view系列(1) 仿360内存清理效果
本篇是接自 手把手带你做自定义view系列  宗旨都是一样,带大家一起来研究自定义view的实现,与其不同的是本系列省去了简单的坐标之类的讲解,重点在实现思路,用简洁明了的文章,来与大家一同一步步学习。 上一篇介绍了神奇的贝塞尔曲线,这篇就来研究其应用。 我自己的学习方法是: 学习了贝塞尔曲线之后,去研究他的规律,然后开始联想有没有见过类似的效果,最后自己去研究实现,在没有遇...
分类:Windows程序   时间:2016-01-12 12:00:07    阅读次数:255
【转】string.Format对C#字符串格式化
【转】http://blog.csdn.net/samsone/article/details/75567811、格式化货币(跟系统的环境有关,中文系统默认格式化人民币,英文系统格式化美元)string.Format("{0:C}",0.2) 结果为:¥0.20 (英文操作系统结果:$0.20)默认...
分类:Windows程序   时间:2016-01-12 11:40:24    阅读次数:251
hadoop文件API
Introductionhttp://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/filesystem/introduction.htmlNotationhttp://hadoop.apache.org/docs/...
分类:Windows程序   时间:2016-01-12 11:40:14    阅读次数:218
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!