码迷,mamicode.com
首页 >  
搜索关键字:小代码 new image    ( 122652个结果
Leetcode | Insert Interval
Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were initial...
分类:其他好文   时间:2014-05-09 16:29:17    阅读次数:330
CSS3实现边框锯齿效果
通过CSS3的linear-gradient实现的.bg{width:300px;height:50px;background:#caca8c;background-image:-webkit-gradient(linear,50%0,0100%,from(transparent),color-st...
分类:Web程序   时间:2014-05-09 12:28:39    阅读次数:4486
Clipboard获取内容C#
一。获取文本 textBox1.Text = Clipboard.GetData("Text").ToString();二。获取图像 pictureBox1.Image = Clipboard.GetImage();三。GetData()的参数解释名称 说明 Bitmap ...
分类:其他好文   时间:2014-05-09 12:22:12    阅读次数:361
Mysql基本用法
#登录数据库mysql -hlocalhost -uroot -p;#修改密码mysqladmin -uroot -pold password new; #显示数据库show databases;#显示数据表show tables;#选择数据库use examples;#创建数据库并设置编码utf....
分类:数据库   时间:2014-05-09 12:19:39    阅读次数:589
判断句柄是否有效
句柄相当于一个指向指针的指针,指向指针的指针同样是指针,所以暂且认为它是一个指针,那么CreateFile相当于new 分配一个资源,让这个指针指到这块资源的首地址,那么当CloseHandle(handle)后等于是delete操作。此时handle的值还在,但是资源已被释放掉,那这个时候如果去访...
分类:其他好文   时间:2014-05-09 11:47:10    阅读次数:354
获取布局 ActionBar
LayoutInflater inflater = getLayoutInflater();View imageLayout = inflater.inflate(R.layout.preference_image.xml,null);ImageView imageView = (ImageView...
分类:其他好文   时间:2014-05-08 21:34:32    阅读次数:307
ios PullToRefresh using animated GIF or image array or Vector image
说说那些令人惊叹的下拉效果1. 动画下拉,这里借用一下github的资源优点:直接用gif图处理,下拉进度完全按照gif图运行时间,只要时间和下拉进度匹配就可以了, 效果很流畅https://dribbble.com/shots/1418440-Twisted-gif?list=searches&t...
分类:移动开发   时间:2014-05-08 21:28:47    阅读次数:519
SCJP_104——题目分析(5)
18.public class Test{ public static void add3(Integer i) { int val=i.intvalue(); val+=3; i=new Integer(val); } ...
分类:其他好文   时间:2014-05-08 21:03:25    阅读次数:348
share point 读取 metadata
private static void syncMetaData() { var siteUrl = @"http://..."; using (var site = new SPSite(siteUrl)) { ...
分类:其他好文   时间:2014-05-08 20:59:41    阅读次数:271
电感和磁珠的主要区别介绍
电感是储能元件,而磁珠是能量转换(消耗)器件,电感主要有功率电感、工字电感等;磁珠主要包括直插磁珠、贴片磁珠。 电感多用于电源滤波回路,磁珠多用于信号回路,用于EMC对策磁珠主要用于抑制电磁辐射干扰,而电感用于这方面则侧重于抑制传导性干扰。两者都可用于处理EMC、EMI问题。磁珠是用来吸收超高频信号...
分类:其他好文   时间:2014-05-08 20:46:29    阅读次数:261
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!