using System.Collections.Generic;using System.Text;using System;namespace Delegate{ //定义委托,它定义了可以代表的方法的类型 public delegate void GreetingDelegate(string...
分类:
其他好文 时间:
2014-07-05 18:50:41
阅读次数:
159
1 2 $("#pwd").live("click",function(){//① 3 $(this).parents("tr").find("#a_cannel").text("取消"); 4 user=$(this).parents("tr").fin...
分类:
其他好文 时间:
2014-07-05 18:35:49
阅读次数:
397
css:[css]#race{display:block;width:200px;height:50px;line-height:50px;text-align:center;background:#CCC;border:#555 1px solid;}.raceShow{border:solid ...
分类:
Web程序 时间:
2014-07-05 18:15:42
阅读次数:
144
注:.xxxx 表示类(class=xxxx)到均可使用。另外还提供了.h1到.h6的class.lead可以让段落突出显示 其内的文本将被设置为父容器字体大小的85% 着重 斜体对齐class:text-left ,text-center,text-right强调class: text-muted...
分类:
其他好文 时间:
2014-07-05 17:40:17
阅读次数:
159
for (id view in self.view.subviews) { if ([view isKindOfClass:[UITextField class]]) { UITextField* textField = (UITextField*)view; [t...
分类:
其他好文 时间:
2014-07-05 17:30:52
阅读次数:
161
/* 首行缩进 */text-indent:10px;/* 下划线 */text-decoration:none;none:无下划线;underline:下划线;overline:上划线;line-through:中划线;注意点CSS样式优先级A、选择器都有一个权值,权值越大越优先B、当权值相等时,...
分类:
Web程序 时间:
2014-07-05 17:09:03
阅读次数:
234
{% csrf_token %} form的写法 注意enctype的格式,上传文件需要添加{% csrf_token %}。from functools import wrapsUPLOAD_AVATAR_TEXT = { 'CHOOSE_IMAGE': 'Choose Image', 'C...
分类:
其他好文 时间:
2014-07-05 16:59:26
阅读次数:
221
在阅读本文之前,我获取gridview某行某列的值一般做法是这样的:row.Cells[3].Text.ToString()。有点傻瓜呵呵在Asp.net 2.0中增加了一个新的数据绑定控件:GridView,其目的用来取代Asp.net1.x中的DataGrid控件。获取GridView中的某列值...
分类:
Web程序 时间:
2014-07-05 16:58:05
阅读次数:
272
text-decoration:underline; /*定义文字具有下划线*/text-decoration:none; /*定义文字不带有下划线*/font-weight:bold; /*加粗文字*/overflow:hidden的作用是隐藏溢出 也就是超出的部分隐藏padding-botto....
分类:
Web程序 时间:
2014-07-05 16:44:15
阅读次数:
190
Qt 5以后qmlscene被qml所替代,/usr/bin/qml可以用来执行.qml文件。所以,我们就可以和sh一样的来写界面了。#!/usr/bin/env qml
import QtQuick 2.2
Rectangle {
width: 200
height: 100
Text {
anchors.centerIn: parent
...
分类:
其他好文 时间:
2014-07-04 09:14:40
阅读次数:
259