摘要: https://blog.csdn.net/u012094427/article/details/77201025 https://www.cnblogs.com/shiyh/p/8884677.html 4.0 VS2010 .Net 4.0 System.Threading.Tasks.Task 阅读全文
posted @ 2018-12-31 22:06 xyphoenix 阅读(282) 评论(0) 推荐(0)
摘要: public class ConsoleReader { public static IEnumerable<string> ReadFromBuffer( short x, short y, short width, short height ) { IntPtr buffer = Marshal 阅读全文
posted @ 2017-05-30 08:27 xyphoenix 阅读(208) 评论(0) 推荐(0)
摘要: 使用Margin属性控制大小,Margin定义的是当前控件和父控件在左上右下方向的空隙。 Margin="10,120,10,10" 删除干扰的其他属性定义 Width,Height,HorizontalAlignment,VerticalAlignment 阅读全文
posted @ 2017-03-18 10:28 xyphoenix 阅读(4938) 评论(0) 推荐(0)
摘要: 1.微软开源免费CMS Oxite http://visitmix.com/labs/oxite/ 网摘介绍:微软正在CodePlex网站开发一个CMS系统,它是开源的,目前正处于Alpha阶段,开发代号“Oxite”. 12 月5日,微软将源代码正式公布出来,采用Microsoft Public 阅读全文
posted @ 2016-02-13 20:44 xyphoenix 阅读(302) 评论(0) 推荐(0)
摘要: http://wenku.baidu.com/link?url=GeOQlRqdXdm7HKWKN5yfMlBtT1djnr3lt8F9Du9CR0P_qD3r5xmr66SrdTGf8AnueU30Kl4QGHJ88aa_fPragpLLbJYIRvEEY9o1_xRL5FW主键 外键 索引左连接... 阅读全文
posted @ 2015-07-19 22:29 xyphoenix 阅读(149) 评论(0) 推荐(0)
摘要: JAVA_HOME=JDK路径CLASSPATH=.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;PATH=%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin; 阅读全文
posted @ 2013-04-22 21:12 xyphoenix 阅读(132) 评论(0) 推荐(0)
摘要: 1. 单一职责原则SRP:Single Responsibility Principle一个改变只影响到一个类类的职责划分要细2. 开闭原则(the Open Closed Principle OCP)模块在扩展方面开放,在修改方面关闭。就是添加新功能时,只增不改,尽量复用现有功能类似DRY原则,但偏向于设计常用手段:接口,抽象类,函数重载等3. 里氏替换原则 (the Liskov Substitution Principle LSP)子类能替换父类所有场景父类像是一个占位符,依赖的类型是父类,实际调用的是子类4. 依赖倒置原则 (the Dependency Inversion Princ 阅读全文
posted @ 2013-04-03 21:20 xyphoenix 阅读(133) 评论(0) 推荐(0)
摘要: DRY原则Don't Repeat Yourself,类似提取公因式,合并相似的部分,挤干水分Shy原则害羞,类似面向对象中类的private修饰符,只有内部使用的就不要publicShy和DRY的折中,可以通过接口隔离,API化等方式减少冲突 阅读全文
posted @ 2013-04-03 20:33 xyphoenix 阅读(94) 评论(0) 推荐(0)
摘要: 1.MySQL存储过程中的字符串变量声明注意字符集 比如 declare myText varchar(100) character set utf8; 并且变量字符集应与待插入或更新字段字符集 阅读全文
posted @ 2013-03-29 19:45 xyphoenix 阅读(104) 评论(0) 推荐(0)