//单独动态创建一个控件; procedure TForm1.BitBtn1Click(Sender:
TObject);var myPanel : TPanel;begin myPanel :=
TPanel.Create(nil);//关于Create(nil)和Create(Self)的区别....
分类:
其他好文 时间:
2014-05-05 21:50:24
阅读次数:
291
注:第一次写博客,把自己遇到的问题和收集的资料记录在博客上。在开发.NET应用中,使用
System.Drawing.Image.Save 方法而导致“GDI+ 中发生一般性错误”的发生,通常有以下三种原因:1.
相应的帐户没有写权限。解决方法:赋予 NETWORK SERVICE 帐户以写权限。2...
分类:
其他好文 时间:
2014-05-05 21:40:45
阅读次数:
318
/**
* 设置窗体背景图片
* @author gao
*/
package com.gao;
import java.awt.Graphics;
import java.awt.Image;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class...
分类:
编程语言 时间:
2014-05-05 13:19:17
阅读次数:
350
1.CSS3 边框:通过 CSS3,能够创建圆角边框,向矩形添加阴影,使用图片来绘制边框,如border-radius;box-shadow;border-image
2.CSS3 背景:CSS3 包含多个新的背景属性,它们提供了对背景更强大的控制。background-size;background-origin
3.CSS3 文本效果:CSS3 包含多个新的文本特性。tex...
分类:
Web程序 时间:
2014-05-05 13:12:25
阅读次数:
437
文件存储的用途:
A File object is suited to reading or writing large amounts of data in start-to-finish order without skipping around. For example, it's good for image files or anything exchanged over a netw...
分类:
移动开发 时间:
2014-05-05 13:01:21
阅读次数:
339
SIP --------------------------- Session Initiation
Protocol --------------------------- create, manage and terminate sessions i...
分类:
其他好文 时间:
2014-05-03 22:49:59
阅读次数:
564
方法1:defgcd(x, y):whilen: x, y=y,
x%yreturnx方法2:def yue(x,y): if y: return gcd(y,x%y) else: return x
分类:
编程语言 时间:
2014-05-03 22:46:11
阅读次数:
344
DDL :Data Definition Language (DDL) statements
are used to define the database structure or schema. Some examples:CREATE - to
create objects in the da...
分类:
数据库 时间:
2014-05-03 22:21:22
阅读次数:
410
今天我们要学习的内容是如何利用Python生成一个随机的中文验证码,并将图片保存为.jpeg格式。
在这之前,你首先得了解Python中的PIL库。PIL是Python Imaging Library的简称,PIL是一个Python处理
图片的库,提供了一系列模块和方法,比如:裁切,平移,旋转,改变尺寸等等。在PIL库中,任何一个图像都是用
Image对象来表示的,所以要加载一张图片,...
分类:
其他好文 时间:
2014-05-03 17:07:06
阅读次数:
364
auto root = Dictionary::create();
auto string = String::create("string element value");
root->setObject(string, "string element key");
auto array = Array::create();
...
分类:
其他好文 时间:
2014-05-03 16:27:48
阅读次数:
380