码迷,mamicode.com
首页 > Windows程序
c# 以多个字符串分隔字符串数据
string str="aaa[##]ccc[##]ddd[##]bb"Regex regex=new Regex(str);//以 [##] 分割 string[] result=regex.Split(s);
分类:Windows程序   时间:2015-06-08 19:03:22    阅读次数:119
delphi xe memory leak produced in WSDLLookup.pas
constructor TWSDLLookup.Create;begin FLookup := TDictionary.Create;end;destructor TWSDLLookup.Destroy;begin ClearWSDLLookup; //问题在这里 inherited;end...
分类:Windows程序   时间:2015-06-08 19:00:04    阅读次数:154
C# EasyORM
C# EasyORM
分类:Windows程序   时间:2015-06-08 18:54:42    阅读次数:212
windows+caffe+vs2013+cuda6.5配置记录
隔了大半年,因为论文的需要,又重新开始研究caffe。感谢niuzhiheng’s GitHub大神的贡献,caffe已经可以在Windows下使用了。参考了很多大神的博客,成功的在自己的笔记本配置好了Windows版本的caffe。现将自己的配置过程和配置中遇到的问题记录下来,希望能对大家有所帮助...
分类:Windows程序   时间:2015-06-08 18:52:20    阅读次数:6017
WinForm 实现登录,验证成功,关闭登录界面,显示主界面
点击登录按钮时;1 if (this.txtLoginName.Text.Trim()=="admin" && this.txtLoginPwd.Text.Trim()=="123456")2 {3 this.DialogResult = D...
分类:Windows程序   时间:2015-06-08 18:49:44    阅读次数:212
JAXB 2.0 API is being loaded from the bootstrap classloader
在使用webservice,mule esb等需要jaxb的项目里经常会出现 JAXB 2.0 API is being loaded from the bootstrap classloader这个错误,按照打出的信息Use the endorsed directory mechanism to ...
分类:Windows程序   时间:2015-06-08 18:47:01    阅读次数:185
Error: Failed to launch instance "win7": Please try again later [Error: No valid host was found. ].
1.首先查看所有服务是否已经启动    执行 # nova-manage service list Binary             Host       Zone         Status   State         Updated_At nova-consoleauth  mycontrollerinternal  enabled      :-)     2014-06...
分类:Windows程序   时间:2015-06-08 17:33:47    阅读次数:241
windows下安装并使用redis
一,安装redis 1.下载安装包 https://github.com/MSOpenTech/redis/releases/ 选择一个最新版本 redis-2.8.19.zip 2.解压到一个指定目录 D:\redis-2.8.19 3.在cmd窗口,进入指定目录,使用以下命令启动服务 redis-server.exe  redis.windows.conf 4...
分类:Windows程序   时间:2015-06-08 17:34:50    阅读次数:175
centos7 通过kvm+vnc 实现远程桌面虚拟化和创建windows、Linux虚拟机
CentOS7上通过KVM+VNC实现远程桌面虚拟化 安装VNC 安装VNC服务端 在Linux系统上安装VNC yum -yinstall vnc-server      yum -y install tigervnc-server 设置远程登录所需要的密码 输入vncserver后会提示输入密码 注:此密码是远程登录时所需要输入的密码 进行vncser...
分类:Windows程序   时间:2015-06-08 17:30:04    阅读次数:201
Windows Azure系列-- Azure Table的CRUD操作
Windows Azure系列-- Azure Table的CRUD操作...
分类:Windows程序   时间:2015-06-08 17:19:02    阅读次数:162
【C#】字符串格式化
1、格式化货币(跟系统的环境有关,中文系统默认格式化人民币,英文系统格式化美元)string.Format("{0:C}",0.2) 结果为:¥0.20 (英文操作系统结果:$0.20)默认格式化小数点后面保留两位小数,如果需要保留一位或者更多,可以指定位数 string.Format("{0:C1...
分类:Windows程序   时间:2015-06-08 17:06:24    阅读次数:136
c# socket 判断端口是否被占用
using System.Net;using System.Net.Sockets;using System.Net.NetworkInformation; IPGlobalProperties ipProperties = IPGlobalProperties.GetIPGl...
分类:Windows程序   时间:2015-06-08 17:04:13    阅读次数:233
【Minimum Window】cpp
题目:Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For example,S="ADOBECOD...
分类:Windows程序   时间:2015-06-08 17:03:09    阅读次数:187
C#:根据银行卡卡号推断银行名称
原文:C#:根据银行卡卡号推断银行名称原文地址:android 根据银行卡卡号判断银行 原文是 java ,现在将它翻译成 C# ,并对代码重新编排整理,不足之处请多多包涵。 根据银行卡号判断所属银行,依据是卡号的前6位数,称之为bin号。 我们把bin号转化为长整形,再把各个银行卡的bin号做成有...
分类:Windows程序   时间:2015-06-08 17:04:34    阅读次数:5202
WPF好看的进度条实现浅谈(效果有点类似VS2012安装界面)
为了界面友好,一般的操作时间较长时,都需要增加进度条提示。由于WPF自带的进度条其实不怎么好看,而且没啥视觉效果。后来,装VS2012时,发现安装过程中进度条效果不错,于是上网查了资料。学习了ModernUI(开源的),地址:https://github.com/firstfloorsoftwa.....
分类:Windows程序   时间:2015-06-08 16:58:30    阅读次数:245
WPF DataGrid Visibility的绑定
场景:根据配置文件显示DataGrid中的某些列。 问题:Columns集合只是DataGrid的一个属性,这个集合在逻辑树或视觉树中是看不到的,也不会继承DataContext属性。 通过网上查阅各种资料,方法可以归结以下几种,下面将一一展示。 方法一:对DataGridColumn附加...
分类:Windows程序   时间:2015-06-08 16:57:08    阅读次数:289
C#:STRING.FORMAT数字格式化输出
1.各种常用数字格式化货币转换 C 或 c(默认小数点后2位。C3后面跟的数字就代表小数后几位) string.Format("{0:C}",a)a.ToString("C")//$2.50 string.Format("{0:C3}",a)a.ToString("C3")//$2.500转换为十进...
分类:Windows程序   时间:2015-06-08 16:54:25    阅读次数:128
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!