导入工程:File->New->project:选择“Java project 
from existing ant buildfile”再从菜单windows->show view->ant 
打开ant工具对话框打开ant编译文件build.xml当编译完成后,在源码根目录下会生成一个target目...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 16:17:53   
                                阅读次数:
519
                             
                    
                        
                            
                            
                                以多语言为例子: ResourceDictionary resourceDictionary 
= new ResourceDictionary(); //新建资源集合 var culture = 
CultureInfo.CurrentCulture;//获取本地Culture...
                            
                            
                                分类:
Web程序   时间:
2014-04-29 15:59:30   
                                阅读次数:
434
                             
                    
                        
                            
                            
                                IEEE/ACM International Conference on Advances 
in Social Network Analysis and Mining (ASONAM) 2014 Industry Track Call for 
PapersBeijing China August 1...
                            
                            
                                分类:
Web程序   时间:
2014-04-29 15:30:45   
                                阅读次数:
561
                             
                    
                        
                            
                            
                                在很多项目中,我们经常需要使用JS,在页面前面对前台的某些元素做做修改,js 
的replace()方法就必不可少。经常使用"ABCABCabc".replace("A","B")的同学应该会比较清楚,改语句的最终结果是BBCABC,这种方法只能替换第一个匹配的元素。如果替换所有呢?使用正则表达式即可...
                            
                            
                                分类:
Web程序   时间:
2014-04-29 14:40:29   
                                阅读次数:
689
                             
                    
                        
                            
                            
                                I had been waiting for the latest MySQL 
connector for .NET to come out so I can move on to the new and sleek Visual 
Studio 2012 for my projects. Found...
                            
                            
                                分类:
数据库   时间:
2014-04-29 14:17:54   
                                阅读次数:
753
                             
                    
                        
                            
                            
                                创建方式有两种:通过Eclipse创建在工具栏上选择New》android》android 
application project,或者在导航栏上选择file》new》project》android》android application 
project。在出现的窗口上填上与选择你的Applicat...
                            
                            
                                分类:
移动开发   时间:
2014-04-29 13:55:22   
                                阅读次数:
560
                             
                    
                        
                            
                            
                                项目里的朋友圈页面,每幅图片的评论内容里面,有不同的用户进行评论,起初想法是点击用户名直接进行回复,后来看微信都是点击评论内容进行回复评论的发起人,这个好做,把这个textview绑定一个监听器就ok了 
后来再一想,如果要实现类似微信点击用户名就进入用户的主页,怎么让用户名可以点击呢?...
                            
                            
                                分类:
微信   时间:
2014-04-29 10:21:45   
                                阅读次数:
735
                             
                    
                        
                            
                            
                                Dictionarydic=lst.ToDictionary(newFunc(c=>c.Id),newFunc(c=>c.Num));//如果觉得上面的写法太复杂,还可以简化为//Dictionary 
dic = lst.ToDictionary(c => c.Id, c => c.Num...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 10:18:46   
                                阅读次数:
339
                             
                    
                        
                            
                            
                                相对于JLabel显示提示文字,JTextArea有一个先天优势:文字可以拷贝出来。经过下面设置它也能在外观上和JLabel一致。代码如下:JTextArea 
txtArea=new JTextArea(5,20);// 初始化// 设置文字txtArea.setText("We needto up...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 09:33:45   
                                阅读次数:
544
                             
                    
                        
                            
                            
                                WPF调用WinForm中的 OpenFileDialog 和 FolderBrowserDialog 
来实现响应的功能对应的引用程序集:using System.Windows.Forms; OpenFileDialog openFileDialog = new 
OpenFileDialog();...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 09:24:45   
                                阅读次数:
404