上一页 1 ··· 121 122 123 124 125 126 127 128 129 ··· 148 下一页
摘要: 页面效果 须要的权限 <uses-permission android:name="android.permission.INTERNET"/> 网络訪问权限; 布局文件: <LinearLayout xmlns:android="http://schemas.android.com/apk/res 阅读全文
posted @ 2017-05-02 10:11 yangykaifa 阅读(223) 评论(0) 推荐(0)
摘要: 在c#中要扩展一个现有类非常easy,比方这样: ? 1 2 3 4 5 6 7 public static class Utils { public static void PrintToConsole(this string strSrc) { Console.WriteLine(strSrc) 阅读全文
posted @ 2017-05-02 09:35 yangykaifa 阅读(178) 评论(0) 推荐(0)
摘要: What Abstarct Factory:提供一个创建一系列相关或相互依赖的接口。而无需指定他们详细类。 Why Abstarct Factory是创建型设计模式的一种,主要在创建对象时解耦,避免对象的直接依赖,方便替换与定制。常见的比方:一个功能有两种不同的风格,须要依据配置来切换不同的风格时。 阅读全文
posted @ 2017-05-02 08:47 yangykaifa 阅读(133) 评论(0) 推荐(0)
摘要: //设置公共TabBarItem 的属性 [UITabBarItem appearance] //设置公共NavigationBar 的属性 [UIBarButtonItem appearance] //设置公共TabBarItem 的属性 [UITabBarItem appearance] //设 阅读全文
posted @ 2017-05-01 10:44 yangykaifa 阅读(129) 评论(0) 推荐(0)
摘要: 找规律 S+1 = S +'L'+~rev(S) Problem D Decoding the Hallway Problem D Edward is now 21 years old. He has to appear in an exam to renew his State Alchemist 阅读全文
posted @ 2017-05-01 09:26 yangykaifa 阅读(293) 评论(0) 推荐(0)
摘要: 【前言】话说好久没有写题解了。到暑假了反而忙。o(╯□╰)o 【原题】 2458: [BeiJing2011]最小三角形 Time Limit: 10 Sec Memory Limit: 128 MB Submit: 574 Solved: 177 [Submit][Status] Descript 阅读全文
posted @ 2017-05-01 08:09 yangykaifa 阅读(176) 评论(0) 推荐(0)
摘要: Matlab中面向对象能力并不强,通过使用jython引擎能够对其功能扩展. 1 编辑classpath.txt增加jython.jar 在matlab中输入 which classpath.txt 结果: /usr/local/MATLAB/R2013a/toolbox/local/classpa 阅读全文
posted @ 2017-04-30 21:23 yangykaifa 阅读(202) 评论(0) 推荐(0)
摘要: 1. 项目介绍 在NINJA设备上支持RTM-ISDN卡 RTM-ISDN卡硬件组成 主要组成单元 C6415: DSP PEB383(上图中的PEX8112改为PEB383,由于后者具有NT功能): PCIE2PCI bridge PEF22554: FALC E1/T1 framer LC425 阅读全文
posted @ 2017-04-30 20:45 yangykaifa 阅读(367) 评论(0) 推荐(0)
摘要: 在上一个样例中,我们得到了由mesh组件传递的信息经过数学转换至合适的颜色区间以颜色的形式着色到物体上。这篇文章将要在此基础上研究片段的擦除(discarding fragments)和前面剪裁、后面剪裁(front face culling and back face culling)来达到透明效 阅读全文
posted @ 2017-04-30 19:11 yangykaifa 阅读(299) 评论(0) 推荐(0)
摘要: 1. 介绍 wxGrid控件时wxWidgets界面库中内置的网格控件。通经常使用来显示表格数据。该控件拥有强大的功能。开发人员可依据自己的需求对其进行定制。 2. 经常使用API 构造函数: wxGrid () wxGrid (wxWindow *parent, wxWindowID id, co 阅读全文
posted @ 2017-04-30 18:22 yangykaifa 阅读(1826) 评论(0) 推荐(0)
上一页 1 ··· 121 122 123 124 125 126 127 128 129 ··· 148 下一页