Handle onClick for our custom LinearLayout for Gallery-like HorizontalScrollViewThe post "Implement Gallery-like HorizontalScrollView" and "Implement ...
分类:
其他好文 时间:
2014-07-07 12:30:02
阅读次数:
282
mvn install 报错Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2 错误: 找不到符号.需要clean后重新install项目可以解决该问题
分类:
其他好文 时间:
2014-07-07 12:31:14
阅读次数:
794
1 public static string TestXML(string path) 2 { 3 4 XmlDocument doc = new XmlDocument(); 5 doc.Load(path); 6...
分类:
其他好文 时间:
2014-07-07 12:32:35
阅读次数:
202
/// /// 无损压缩图片 /// /// 原图片 /// 压缩后保存位置 /// 高度 /// 宽度 /// 压缩质量 1-100 /// public static bool CompressImage(string...
分类:
其他好文 时间:
2014-07-07 12:34:31
阅读次数:
195
原文:数据抓取的一个类,包含一些常用的方法usingSystem;usingSystem.Configuration;usingSystem.IO;usingSystem.Net;usingSystem.Text;usingSystem.Text.RegularExpressions;namespa...
分类:
其他好文 时间:
2014-07-07 12:37:04
阅读次数:
205
转载来自:http://write.blog.csdn.net/postedit/7715729一、测试代码 private void button1_Click(object sender, EventArgs e) { string newSourcePath = ImgPath;//源图存.....
分类:
其他好文 时间:
2014-07-07 12:36:28
阅读次数:
288
1 #include 2 #include 3 using namespace std; 4 int main(){ 5 int m,n,c=0,sum=0; 6 cin>>m>>n; 7 while(m<=n){ 8 if(c&&c%5==0) 9 ...
分类:
其他好文 时间:
2014-07-07 12:35:43
阅读次数:
253
问题: couldn't found -lwexin 等与第三方库有关的关键词报错,如上图。 解决方法:在工程文件中删掉第三方库的引用,然后再重新添加进来。command+B,OK。
分类:
其他好文 时间:
2014-07-07 12:40:21
阅读次数:
199
百度和淘宝并没有正式的提供一个公开API给我们用,但是经过分析他们的源代码,还是找到了解决方法。123456789/*baidu&taobao callback*/functiondachie(d) {if(d.s) returnd.selse{returnd.result.map(function...
分类:
其他好文 时间:
2014-07-07 12:39:42
阅读次数:
260
1.尽量使用不透明的视图。 不透明的视图可以极大提高渲染的速度。因此如非必要,可以将tableView cell及其视图的opaque的属性设置为YES。其中的特例包括背景色,它的alpha值应该为1(例如不要使用 clearColor);图像的alpha值也应该为1,或者在画图时设为不透...
分类:
其他好文 时间:
2014-07-07 12:44:12
阅读次数:
202
1 #include 2 #include 3 using namespace std; 4 int main(){ 5 string s; 6 int n; 7 getline(cin,s); 8 cin>>n; 9 while(n--)10 ...
分类:
其他好文 时间:
2014-07-07 12:44:52
阅读次数:
170
1,Data Binding在WPF中的地位程序的本质是数据+算法。数据会在存储、逻辑和界面三层之间流通,所以站在数据的角度上来看,这三层都非常重要。但算法在3层中的分布是不均匀的,对于一个3层结构的程序来说,算法一般分布在这几处:A。数据库内部。B。读取和写回数据。C。业务逻辑。D。数据展示。E。...
分类:
其他好文 时间:
2014-07-07 12:46:45
阅读次数:
330
本文档旨在帮助开发人员快速使用工作流组件,完成OA或审批等涉及到工作流组件的系统开发工作
分类:
其他好文 时间:
2014-07-07 12:49:28
阅读次数:
399
1 #include 2 #include 3 using namespace std; 4 int main(){ 5 int n,k,i; 6 string str[100],tmp; 7 cin>>n>>k; 8 for(i=0;i>str[i];10 ...
分类:
其他好文 时间:
2014-07-07 12:52:07
阅读次数:
219
1 #include 2 #include 3 using namespace std; 4 int main(){ 5 string s; 6 char tmp; 7 getline(cin,s); 8 for(int i=0;i<s.length()/2;i++...
分类:
其他好文 时间:
2014-07-07 12:51:30
阅读次数:
199