动态生成控件,应该是这么写: with TLabel.Create(PanelCheque) do begin Parent:=PanelCheque; Name:='Bank'+CurNumber; Left:=270; Top:...
分类:
其他好文 时间:
2015-07-26 00:27:50
阅读次数:
166
今天尝试在 Wamp 环境下访问 MS SQL 数据库,有以下心得。使用 PHP 5.3 + pdo_odbc + Yii 1.1 框架,以下两个代码段可以成功。1、直接使用 PDO 方式,可以获取数据。1 $sql = "SELECT TOP 10 [NAME],[STCD],[TM],[PA] ...
分类:
数据库 时间:
2015-07-25 22:55:11
阅读次数:
243
1,setCompoundDrawables(Drawable left, Drawable top,Drawable right, Drawable bottom) 设置图片出现在textView,button,editText的各个方向.其中,left是drawable类型的.2.如何获取上面....
分类:
移动开发 时间:
2015-07-25 16:29:05
阅读次数:
132
题目如下:
Stack is one of the most fundamental data structures, which is based on the principle of Last In First Out (LIFO). The basic operations include Push (inserting an element onto the top pos...
分类:
编程语言 时间:
2015-07-25 12:20:26
阅读次数:
115
程序运行之后将要实现的效果如下图所示:下边就详细的说明一下实现代码:1、布局实现 1)上边的布局很简单,命名为top.xml,代码如下: 1 7 8 16 17 2)下边的布局,分别由4个垂直分布的LinearLayout构成,每个LinearLayout由ImageButton和...
分类:
其他好文 时间:
2015-07-25 12:00:26
阅读次数:
110
Top 10 Algorithms of 20th and 21st CenturyMATH 595 (Section TTA)Fall 2014TR 2:00 pm - 3:20 pm, Room 341 Altgeld HallUniversity of Illinois at Urbana-C...
分类:
其他好文 时间:
2015-07-24 22:16:40
阅读次数:
182
题意: Given is an ordered deck of n cards numbered 1to n with card 1 at the top and card n at thebottom.The following operation is performed aslong as t...
分类:
其他好文 时间:
2015-07-24 22:06:58
阅读次数:
101
平衡的括号这道题目主要运用栈的一些知识。栈在第五章的STL里已经讲了一些,这里再复习一下。栈的特点是“先进后出”。头文件是,声明方式:"stack s"。主要有以下几个操作:push():把元素压入“栈顶”,又称入栈pop():从栈顶把元素弹出,出栈top():取栈顶元素(但不删除)size():测...
分类:
其他好文 时间:
2015-07-24 22:06:41
阅读次数:
137
vertical-align 属性设置元素的垂直对齐方式。 可能的值 值 描述 baseline 默认。元素放置在父元素的基线上。 sub 垂直对齐文本的下标。 super 垂直对齐文本的上标 top 把元素的顶端与行中最高元素的顶端对齐 te...
分类:
Web程序 时间:
2015-07-24 19:04:12
阅读次数:
203
非本人原创,此为本人导师代码,在此整理分析。1、遮蔽层,弹框弹出时,页面变灰。CSS部分.overlay{display:none;position:fixed;left:0;top:0;z-index:1000;width:100%;height:100%;background-color:hsla(0,0%,0%,.7);}2、定时提示小弹框,页面垂直居中显示CSS部分/*toast提..
分类:
Web程序 时间:
2015-07-24 18:55:00
阅读次数:
231