码迷,mamicode.com
首页 >  
搜索关键字:height    ( 24230个结果
SharePoint 2013 showModalDialog 弹出模式窗口
1. SharePoint 弹出框本文讲述SharePoint 2013 中使用 SP.UI.ModalDialog.showModalDialog时 showModalDialog 未定义的问题。function showDialog(title,url,width,height) { va...
分类:其他好文   时间:2014-07-09 20:08:13    阅读次数:304
第一个c++程序
#include using namespace std;int main(int argc, const char * argv[]){//cin接收键盘输入 int age; double height; char name[10];// cout 在控制台输出一些信息// 相当于c语...
分类:编程语言   时间:2014-07-09 00:37:35    阅读次数:270
“无法嵌入互操作类型。。。”的错误纠正方法
引用COM组件的时候,出现了“无法嵌入互操作类型……,请改用适用的接口”的错误提示。解决方法:选中项目中引入的dll,鼠标右键,选择属性,把“嵌入互操作类型”设置为False。仅做一笔记而已。
分类:其他好文   时间:2014-07-08 23:34:21    阅读次数:165
利用servlet产生随机数,原理是获取Graphics对象进行绘图
public class ResonpeRandomImgDemo extends HttpServlet { int width=100; int height=30;public void doGet(HttpServletRequest request, HttpServletResponse...
分类:其他好文   时间:2014-07-08 22:34:56    阅读次数:262
canvas——画板
注意部分:canvas的height和width不能再css中设定,应该在html中设定,否则会影响页面的分辨率。效果图:图1:代码css:#canvas{ cursor: crosshair;}button{ width: 80px;}.yellowBtn{ background...
分类:其他好文   时间:2014-07-08 22:31:32    阅读次数:223
(Android 基础知识review)打电话
1、main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"...
分类:移动开发   时间:2014-07-08 20:00:21    阅读次数:277
关于ListView的Item的一些定制化需求
一些流行的应用的ListView的Item类似下图: ListView的Divider没有没有覆盖到图片 可以这种来实现,先定义ListView在Layout中: <ListView android:layout_width="match_parent" android:layout_height="match_parent"...
分类:其他好文   时间:2014-07-08 14:58:12    阅读次数:245
android editText 软键盘enter键图标的设置
<EditText android:layout_marginTop="10dp" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="输入单位" android:layout_marginLef...
分类:移动开发   时间:2014-07-06 12:06:32    阅读次数:296
清除浮动
(清除未浮动元素左右浮动)   clear:both      (清除当前浮动的元素左右浮动)  overflow:hidden overflow:auto   zoom:1px(IE)    _height: px;(IE6)...
分类:其他好文   时间:2014-07-06 11:42:05    阅读次数:220
POJ 3693 Maximum repetition substring (后缀数组)
题目大意: 求出字典序最小,重复次数最多,的子串。 思路分析: RMQ + height 数组可以求出任意两个后缀的lcp 我们枚举答案字符串的重复的长度。 如果这个字符串的长度为 l ,而且这个字符串出现过两次或两次以上 那么你会发现在原串中  str[0] str[l] str[2*l] ....肯定有相邻的两个被包含在重复的串中。 我们求出这两个相邻的后缀的lcp 我...
分类:其他好文   时间:2014-07-05 23:47:48    阅读次数:178
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!