05 2015 档案
摘要:在资源管理器中,右键,添加网络位置。 然后输入ftp的url ftp://server2008 使用匿名方式登录
阅读全文
摘要:http://stackoverflow.com/questions/1274432/sqlite-parameters-not-allowing-tablename-as-parameterGenerally one cannot use SQL parameters/placeholders f...
阅读全文
摘要:http://www.cnblogs.com/stg609/p/3723968.html 字体的大小,先配置大小12。在environment中的font size里面调整 VS默认的深色主题和Selenitic搭配比较好看。 http://www.cnblogs.com/JamesLi2015/p
阅读全文
摘要:http://www.codeproject.com/Articles/42415/Builder-Design-Pattern In Elizabeth's day care center, the teacher helps the kids to build all kinds of toys
阅读全文
摘要:using System;using System.Diagnostics;using Microsoft.Win32;namespace ChuckLu.Utility{ public class Cmd { private Cmd() { }...
阅读全文
摘要:http://stackoverflow.com/questions/4537945/what-is-the-difference-of-getting-type-by-using-gettype-and-typeofYou can only use typeof() when you know t...
阅读全文
摘要:http://www.codeproject.com/Articles/584128/What-is-the-difference-between-equalsequals-and-EqWhen we create any object there are two parts to the obje...
阅读全文
摘要:举例1 有一张项目表 CREATE TABLE [ProjectTable] ( [ProjectID] NVARCHAR(16) NOT NULL, [ProjectName] NVARCHAR(20) NOT NULL ON CONFLICT REPLACE DEFAULT Null, [Dev
阅读全文
摘要:1. 去官网下载安装http://www.jetbrains.com/resharper/ 2. 用于测试的注册码: admin@youbaozang.comSpFEMUSrPM0AGupqlNs6J1Ey7HrjpJZy admin@wuleba.comd6GuozPm+bsCmPOtyJ2w1g
阅读全文
摘要:绘制一个球 根据公式x^2+y^2+z^2=R^2; 令x=RsinAcosB y=RcosAcosB z=RsinB using System; using System.Collections.Generic; using System.ComponentModel; using System.
阅读全文
摘要:最后上代码public partial class Test : Form { private TChart tChart = new TChart(); private int space = 3; public Test() { ...
阅读全文
摘要:const 与 readonly知多少 Practical Difference between Const & ReadOnly What is the difference between const and readonly? Apart from the apparent differenc
阅读全文
摘要:Dock的Bottom,整个控件填充下半部分,控件会被横向拉长 Anchor,仅仅是控件固定在下方,位置不会发生移动,自动锚定了此控件和父容器的底部的间隔 Anchor可以确定控件的相对位置不发生变化
阅读全文
摘要:.net中的线程池ThreadPool还有和数据库交互的连接池,比如SQL Server Connection Pooling (ADO.NET)https://msdn.microsoft.com/en-us/library/8xx3tyca.aspxSQL Server Connection P...
阅读全文
摘要:Object pool patternTheobject pool patternis a softwarecreational design patternthat uses a set of initializedobjectskept ready to use – a "pool" – rat...
阅读全文
摘要:TeeChart曲线的X轴是时间,但是频率很高。没法完全显示。例如,一秒钟有2000个点,那么点与点的间隔为0.5毫秒。使用TChart类的GetAxisLabel事件,函数手册上对此事件的解释:An Event is triggered for each Axis Label painted. T...
阅读全文
摘要:https://msdn.microsoft.com/zh-cn/library/system.threading.threadpool(v=vs.110).aspx 最基础的 线程池QueueUserWorkItem中方法没有执行 https://stackoverflow.com/questio
阅读全文
摘要:http://pcedu.pconline.com.cn/empolder/gj/c/0504/609482_1.html
阅读全文
摘要:http://bbs.csdn.net/topics/220013605【18楼】打个比方,让你编一个计算正方形的程序,一般的思路是:定义3个变量,a=长,b=宽,c=a*b而面向对象的思路:先创建一个长方形的类,在类里定义两个属性分别为长、宽,再定义一个面积方法然后实例化这个类【19楼】你这样的例...
阅读全文
摘要:https://msdn.microsoft.com/zh-cn/library/ms971499.aspxhttp://www.c-sharpcorner.com/UploadFile/mosessaur/abstractfactoryadonet202152006053643AM/abstrac...
阅读全文
摘要:http://www.codeproject.com/Articles/18222/Provider-PatternIntroductionProvider pattern is one of the most interesting features that Microsoft introduc...
阅读全文
摘要:http://www.cnblogs.com/zhili/p/StragetyPattern.htmlhttp://www.dofactory.com/net/strategy-design-pattern主要是对方法的封装。DefinitionDefine a family of algorith...
阅读全文
摘要:#include#define f(a,b) a##b#define g(a) #a#define h(a) g(a)int main(){ printf("%s\n",h(f(1,2))); 宏h(a) 是g(a),没有#,所以需要进行宏展开 ...
阅读全文
摘要:http://www.codeproject.com/Articles/630277/Generic-Data-Access-Layer-GDA-Part-Ihttp://www.codeproject.com/Articles/681565/Self-Synchronized-Data-Acces...
阅读全文
摘要:https://msdn.microsoft.com/en-us/library/bcd5672a.aspx 官方的说法The protected keyword is a member access modifier. A protected member is accessible within
阅读全文
摘要:http://www.dofactory.com/reference/csharp-coding-standards
阅读全文
摘要:http://www.codeproject.com/Articles/93369/How-I-explained-OOD-to-my-wifehttp://www.cnblogs.com/niyw/archive/2011/01/25/1940603.html 中文翻译的版本
阅读全文
摘要:https://msdn.microsoft.com/zh-cn/library/wewwczdw(v=vs.110).aspxApplications that perform many tasks simultaneously, yet remain responsive to user int...
阅读全文
摘要:https://medium.com/the-gathering-kind/when-you-re-nearly-40-and-unmarried-and-you-realize-you-re-going-to-be-okay-f1802188394dA few weeks ago my best ...
阅读全文
摘要:参考自Default visibility for C# classes and members (fields, methods, etc)?Classes and structs that are declared directly within a namespace (in other wo...
阅读全文