码迷,mamicode.com
首页 > Windows程序
安装phpwind报错
在安装phpwind时,下面的报错提示是什么原因呢? 答:数据库密码应设置为空 答:数据库密码应设置为空 ...
分类:Windows程序   时间:2017-08-10 14:39:39    阅读次数:245
js 判断window操作系统 2种方法
js 判断window操作系统 1function detectOS() { var sUserAgent = navigator.userAgent; var isWin = (navigator.platform == "Win32") || (navigator.platform == "Wi... ...
分类:Windows程序   时间:2017-08-10 14:13:56    阅读次数:394
新手C#代码简洁性—语义篇
心法”就是:只要屏幕上有需要思量一下的代码,则一定有办法简化。例子:求三个整数中的最大值 public int Max(int a, int b, int c) { if (a > b) { if (a > c) return a; else return c; } else { if (b > c ...
分类:Windows程序   时间:2017-08-10 13:44:55    阅读次数:226
LeetCode - 520. Detect Capital
Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one of ...
分类:Windows程序   时间:2017-08-10 13:44:31    阅读次数:294
窗体装载窗体
//复写窗体添加按钮,对要复写的窗体的工具栏创建getset方法,即可在承载窗体上获得工具栏对象 1. public JToolBar getjToolBar1() { return jToolBar1; } public void setjToolBar1(JToolBar jToolBar1) ...
分类:Windows程序   时间:2017-08-10 13:44:03    阅读次数:220
delphi的一些语法知识 以及参数传递问题,按引用方式传递参数,按值方式传递参数
//delphi中exit,abort,break,continue 的区别 exit: 退出函数体abort: 遇到异常,安静处理,就是不显示不提示break: 退出当前循环体,包括for ,while, repeat等循环体continue: 结束循环内的本次处理,继续从循环体的开始位置继续执行 ...
分类:Windows程序   时间:2017-08-10 13:39:42    阅读次数:235
Windows Services 学习(转载)
转载:http://blog.csdn.net/fakine/article/details/42107571 一、学习点滴 1、本机服务查看:services.msc /s2、服务手动安装(使用sc.exe): 创建服务sc create ServiceName binpath= "c:\MySe ...
分类:Windows程序   时间:2017-08-10 13:38:30    阅读次数:219
Node.js--安装express以及创建第一个express项目(windows)
1.根据新版的express出现了安装器的概念,安装express需要两个步骤(命令行找到nodejs目录全局安装): (1)npm install -g express@4.15.0 (也可省略@4.15.0,安装最新版) (2)npm install -g express-generator@4 ...
分类:Windows程序   时间:2017-08-10 13:38:04    阅读次数:219
C#获取相对路径
Cited from: http://www.cnblogs.com/eniac12/p/4461614.html ...
分类:Windows程序   时间:2017-08-10 13:34:48    阅读次数:189
c#securityexception不允许所请求的注册表访问权
【转载】 c#securityexception不允许所请求的注册表访问权 开机自启动程序如下: if (!System.IO.File.Exists(filename)) throw new Exception("该文件不存在!"); string name = filename.Substrin ...
分类:Windows程序   时间:2017-08-10 13:33:31    阅读次数:230
C#的装箱和拆箱
谈到装箱拆箱,大概的意思就是值类型和引用类型的相互装换——值类型到引用类型叫装箱,反之就叫拆箱。 1.类型的理解 既然是类型之间的相互转换,那首先就要说清楚类型。我们都知道Sysyem.Object类型是所有内建类型的基类。那么如何区分值类型和引用类型呢?最简单的一个区分标准就是所有的值类型都继承自 ...
分类:Windows程序   时间:2017-08-10 13:31:23    阅读次数:179
新手C#代码简洁性—代码篇
1.合并相似代码:牢记心法:只要屏幕上有任何两部分代码看上去相似,则一定有合并办法例子:if (!result.Contains("true")) { _repSFC.GrantAuthorityToRole(authority, role, false); } if (result.Contain ...
分类:Windows程序   时间:2017-08-10 13:26:26    阅读次数:257
React-API
参考:http://www.ruanyifeng.com/blog/2015/03/react 参考:http://wiki.jikexueyuan.com/project/react/top-level-api.html ReactDOM.render React.createClass 创建一个 ...
分类:Windows程序   时间:2017-08-10 13:23:19    阅读次数:383
新手C#代码简洁性—函数篇
1.从Html代码抽取MVC HtmlHelper <td class = "noborder nopaddingv"> <div class = "aligncenter"> <a href="/Home/Index"> <img src="../../Resouces/Images/Agile/ ...
分类:Windows程序   时间:2017-08-10 13:20:51    阅读次数:203
【C#】:浅谈反射机制 【转】
http://blog.csdn.net/lianjiangwei/article/details/47207875 什么是反射? 反射提供了封装程序集、模块和类型的对象(Type 类型)。可以使用反射动态创建类型的实例,将类型绑定到现有对象,或从现有对象获取类型并调用其方法或访问其字段和属性。如果 ...
分类:Windows程序   时间:2017-08-10 13:17:40    阅读次数:240
c# 发送邮件
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; namespace ConsoleApplication5 { class ... ...
分类:Windows程序   时间:2017-08-10 11:50:52    阅读次数:232
C# 版dll 程序集合并工具
微软的ILMerge工具。 下载地址:https://www.microsoft.com/en-us/download/details.aspx?id=17630 这个支持将EXE依赖的DLL合并到EXE中,也支持将主DLL依赖的其他DLL合并到一个DLL中,这个基本满足要求,唯一不足之处是没有GU ...
分类:Windows程序   时间:2017-08-10 11:50:05    阅读次数:165
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!