码迷,mamicode.com
首页 > Windows程序
父窗体包含两个子窗体
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:Windows程序   时间:2016-01-08 22:06:57    阅读次数:292
享元模式 c#
我们写文档的时候不可能对每一个字符都进行内存分配,只需要对基本字符分配内存然后进行复用就可以了。using System;using System.Collections;using System.Collections.Generic;using System.Linq;namespace C.....
分类:Windows程序   时间:2016-01-08 22:05:14    阅读次数:229
将程序从windows平台迁移到Linux平台
Windows生产环境:OS:Windows2003Web服务器:ApacheTomcat/6.0.26Java虚拟(JVM):1.6.0_10-rc2-b32程序语言:Java+JSPLinux生产环境:OS:CentOSrelease6.7(Final)Web服务器:ApacheTomcat/7.0.57Java虚拟(JVM):1.7.0_71-b14程序语言:Java+JSP任务:将从Windows平台上的成..
分类:Windows程序   时间:2016-01-08 20:36:54    阅读次数:459
CentOS配置smaba与Windows共享文件
操作环境:CentOS 6.5 64bitLinux与Linux间通过什么共享文件呢——NFS,Windows与Windows之间呢——共享文件功能就OK了,那Windows与Linux之间呢?这就是本段要讲的东东——samba。检查是否安装samba# rmp -qa|grep samba若安装了...
分类:Windows程序   时间:2016-01-08 20:26:45    阅读次数:253
安全漏洞API接口
这个是avfisherapi写的API,经常用,每次找他的博客都搜到AV,尴尬。。在这里记下来。0x01 查询最新安全事件和漏洞的接口接口URL:乌云网:http://avfisherapi.sinaapp.com/wooyun/Freebuf:http://avfisherapi.sinaap.....
分类:Windows程序   时间:2016-01-08 20:15:50    阅读次数:276
桥接模式 c#
当一个类有两个维度的变化时,我们就可以用组合替代继承,那么就可以避免继承带来的重复代码书写。using System;using System.Collections;using System.Collections.Generic;using System.Linq;namespace Con.....
分类:Windows程序   时间:2016-01-08 20:14:56    阅读次数:203
使用Fluent API 配置/映射属性和类型
Code First约定-Fluent API配置使用Fluent API 配置/映射属性和类型简介通常通过重写派生DbContext 上的OnModelCreating 方法来访问Code First Fluent API。以下示例旨在显示如何使用 Fluent API 执行各种任务,您可以将代码...
分类:Windows程序   时间:2016-01-08 18:52:26    阅读次数:282
ASP.NET Web API 通过Authentication特性来实现身份认证
1 using System; 2 using System.Collections.Generic; 3 using System.Net.Http.Headers; 4 using System.Security.Principal; 5 using System.Text; 6 using ....
分类:Windows程序   时间:2016-01-08 18:45:10    阅读次数:346
Gradle在Windows环境与Linux上配置有哪些不同?
下文中的Linux只表示公司72 CI服务器配置,基它Linux服务器和Mac电脑可供参考。
分类:Windows程序   时间:2016-01-08 18:36:06    阅读次数:173
Code First 关系 Fluent API
通过实体框架 Code First,可以使用您自己的域类表示 EF 执行查询、更改跟踪和更新函数所依赖的模型。Code First 利用称为“约定先于配置”的编程模式。这意味着 Code First 将假设类遵循 EF 用于概念模型的架构约定。在这种情况下,EF 将能够找出自己工作所需的详细信息。但...
分类:Windows程序   时间:2016-01-08 18:34:19    阅读次数:360
C#--静态函数成员
分类:Windows程序   时间:2016-01-08 18:34:19    阅读次数:199
组合模式 c#
当我们处理简单对象和复杂对象时,如果他们有共性,那么我们可以使用统一接口,让用户更好的操作不同的对象。using System;using System.Collections;using System.Collections.Generic;using System.Linq;namespac.....
分类:Windows程序   时间:2016-01-08 18:25:46    阅读次数:169
DentCAD.2014.R4 牙科设计系统+PowerInspect.V2015
QQ:16264558 TEL:13963782271
分类:Windows程序   时间:2016-01-08 16:34:03    阅读次数:394
c# 百度api语音识别
public static string getStrAccess(string para_API_key, string para_API_secret_key) { //方法参数说明: //para_API_key:API...
分类:Windows程序   时间:2016-01-08 15:54:58    阅读次数:235
快速入门系列--WebAPI--04在老版本MVC4下的调整
WebAPI是建立在MVC和WCF的基础上的,原来微软老是喜欢封装的很多,这次终于愿意将http编程模型的相关细节暴露给我们了。在之前的介绍中,基本上都基于.NET 4.5之后版本,其System.Net.Http程序集非常的丰富,而老版本的则相对较弱。在WebAPI v1.0(和ASP.NET M...
分类:Windows程序   时间:2016-01-08 14:34:38    阅读次数:496
c# string.format json字符串 formatException错误
正常字符串的string.format是没问题的但是在拼接json的字符串的时候因为里面包含了 {} 花括号 里面又嵌套了 {0} {1} {2}这些要替换的关键字 所以会报错。经过百度。字符串中包含{或者},则需要用{{ 来代替字符 {,用}} 代替 } string strTemplate =....
分类:Windows程序   时间:2016-01-08 13:24:21    阅读次数:182
C# 的时间戳转换
1.时间戳转为C#格式时间 /// /// 时间戳转为C#格式时间 /// /// Unix时间戳格式 /// C#格式时间 public static DateTime GetTime(string timeStamp) ...
分类:Windows程序   时间:2016-01-08 13:16:45    阅读次数:252
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!