码迷,mamicode.com
首页 > Windows程序 > 周排行
C# 将格式为20150528的数据转为日期格式
如果需要将格式为“20150528”的数据转为日期格式2015-05-28,可以使用以下代码:string createdon_str = "20150528";DateTime createdon_date = DateTime.ParseExact(createdon_str,"yyyyMMdd...
分类:Windows程序   时间:2015-05-28 12:14:33    阅读次数:146
Google maps API
http://wenku.baidu.com/link?url=r42agq4KFMc3kPfNrdT4mH0NLxquwtztujARlKhphNR35nKLGorOx2dYqliLQeGKefFr_X_cGi3kKiu2asrVmTBBsdqbvPvI0JeWi5fct2ahttp://www....
分类:Windows程序   时间:2015-05-28 17:53:19    阅读次数:143
Google maps api demo
demo: KML Layers cta.kml Chicago Transit Map Chicago Transit Authority train lines ...
分类:Windows程序   时间:2015-05-28 23:09:17    阅读次数:279
自定义HttpModule,用于未登录用户,不弹出Windows认证窗口,而是跳转回SSO站点
2012年的一篇随笔记录,可以学习到如何自定义HttpModule,而具体里面针对需求开发的代码,可能未必能让大伙了解到什么,可快速扫描而过。 1 using System; 2 using System.Web; 3 4 using System.Configuration; 5 u...
分类:Windows程序   时间:2015-05-29 00:53:52    阅读次数:227
C#unix时间戳转换
/// /// 日期转换成unix时间戳/// /// /// public static long DateTimeToUnixTimestamp(DateTime dateTime){ var start = new DateTime(1970, 1, 1, 0, 0, 0, dateTi...
分类:Windows程序   时间:2015-05-29 11:30:16    阅读次数:140
C# 深拷贝通用方法
C#深拷贝通用方法(引用类型的拷贝) 1 /// 2 /// 深度COPY 3 /// 4 /// 5 /// 6 /// 7 public static T DeepClone(T obj)...
分类:Windows程序   时间:2015-05-29 15:22:05    阅读次数:131
c#委托(1)
// 委托声明 -- 定义一个签名:delegate double MathAction(double num);class DelegateTest{ // 符合委托声明的常规方法 static double Double(double input) { retur...
分类:Windows程序   时间:2015-05-29 15:40:37    阅读次数:131
用c#快速实现的智能聊天机器人
这是一个聊天机器人,很方便,直接调用图灵机器人api即可,对话方式一问一答!图灵机器人官网上只有php和java的示例,于是自己写了个Windows的。using System;using System.Collections.Generic;using System.ComponentModel;...
分类:Windows程序   时间:2015-05-29 17:32:17    阅读次数:209
C#简易教程(二)
【译文】C# 教程和源码 【译文】Microsoft C# 概览之:C# 简介 【译文】Microsoft C# 概览之:C# 和 VB.NET 【译文】Microsoft C# 概览之:C# 和 JAVA 【译文】Microsoft C# 概览之:C# 控制台应用程序 【译文】Microsoft C# 概览之:C# 基于窗体的应用 【译...
分类:Windows程序   时间:2015-05-30 09:20:11    阅读次数:154
C#复习
输入输出--数据类型--变量与常量--运算符表达式--语句(顺序、分支、循环)--数组--函数--结构体一、输入与输出。Console.ReadLine();Console.WriteLine();Console.Write();二、数据类型:(一)分类:1.值类型: 基本类型:int(short ...
分类:Windows程序   时间:2015-05-30 10:41:26    阅读次数:192
winfrom 计算器
namespace 计算器_新{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private bo...
分类:Windows程序   时间:2015-05-30 23:58:50    阅读次数:191
获取win系统hash值的工具
gethashes工具使用方法:在DOS环境下运行gethashes$localsaminside工具winglogonHACK工具以上两种工具使用自行百度找方法。
分类:Windows程序   时间:2015-05-31 01:34:52    阅读次数:141
C# 通过Emgu CV 人脸检测
1、Emgu CV使用opencv人脸检测,C#使用代码(转载于Emgu CV Example):using System;using System.Collections.Generic;using System.Diagnostics;using System.Drawing;using Emg...
分类:Windows程序   时间:2015-05-31 12:20:24    阅读次数:352
C#Socket 案例
服务器端using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Ne...
分类:Windows程序   时间:2015-05-31 16:45:50    阅读次数:171
Delphi编译选项
编译选项的设置,称为“开关指令”,其中大部分值为布尔类型一、代码生成(Codegeneration)1、Optimization优化代码,默认true2、Stackframes生成过程/函数的Stackframes(调试工具用),默认false3、Pentium-safeFDIV修正早期Pentiu...
分类:Windows程序   时间:2015-05-31 20:08:01    阅读次数:203
在 cygwin 的环境下调用 libgdx gdx-tools
想通过执行 shell 脚本的方式,启动 gdx-tools 中提供的工具,如我需要启动 gdx-tools 中 particle-editor,因此参考了 gdx 官方提供的文档,在 cygwin 中执行了命令:java -cp gdx.jar:gdx-natives.jar:gdx-backen...
分类:Windows程序   时间:2015-05-31 20:11:01    阅读次数:285
WorldWind源码剖析系列:枚举类型
PluginSDK中的枚举型主要有以下这些: public enum AltitudeMode//高度模式枚举 { ClampedToGround,//强制到地面模式 RelativeToGround, //相对到地面模式 Absolute//绝对高度模式 } public enum Units//...
分类:Windows程序   时间:2015-05-31 23:15:20    阅读次数:202
C#--WEb中登录时输入各项的验证
验证:一、RequiredFieldValidator:非空验证ErrorMessage:验证出错时显示的错误信息ControlToValidate:要验证的控件IDDisplay:呈现模式。Static-静止,不显示也会占空间。Dynamic-动态,不显示不占空间InitialValue:控件的初...
分类:Windows程序   时间:2015-06-01 11:10:52    阅读次数:180
关于宿舍打分系统API端查询优化
优化前的相关代码RoomController.class.php 1 //带详情的宿舍信息列表,已经完成检查的宿舍 2 //08 3 function team_room_list_with_detail($team_id,$is_finish=true){ 4 // ...
分类:Windows程序   时间:2015-06-01 13:16:42    阅读次数:138
Sublime Text 2 配置PHP调试环境(在windows环境下)
1:PHP安装,配置环境变量 PHP安装略过… 2:下载Sublime Text 2 下载地址:http://www.sublimetext.com/2 ,选择自己合适的版本 3:点击 sublime_text的“工具”->”编译系统”->”编译新系统” 输入编译脚本 输入如下: { "cmd": ["E:/wamp/bin/php/php5.3...
分类:Windows程序   时间:2015-06-01 14:46:38    阅读次数:191
86459条   上一页 1 ... 33 34 35 36 37 38 39 ... 4323 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!