using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading.Tasks;namespace GetSetTest{
class A { ...
分类:
其他好文 时间:
2014-05-10 07:39:24
阅读次数:
220
使用索引器的目的是为了能够像数组一样访问类中的数组型的对象。using
System;using System.Collections.Generic;using System.Linq;using
System.Text;using System.Threading.Tasks;namespace...
分类:
其他好文 时间:
2014-05-10 05:43:44
阅读次数:
218
参考资料:《大话设计模式》//模板方法模式--处理问题的步骤相同,但步骤的实现不同using
System;using System.Collections.Generic;using System.Linq;using
System.Text;namespace ds_templatemethod...
分类:
其他好文 时间:
2014-05-10 05:19:04
阅读次数:
322
参考资料:《大话设计模式》简单工厂模式://////简单工厂模式实验,2014.05.07---通过工厂类实例化对象///using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespa...
分类:
其他好文 时间:
2014-05-10 05:16:31
阅读次数:
332
参考资料《大话设计模式》using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespace
ds_proxy{ class Program { static ...
分类:
其他好文 时间:
2014-05-10 05:15:33
阅读次数:
290
我的原因是:convertToUTF8和ColorPicker快捷键冲突,convertoUTF8的默认转换GBK的快捷键 和
ColorPicker打开调色板的快捷键都是ctrl+shift+c 。解决方法:我是修改了convertToUTF8 的快捷键 。
因为文件编码转换用的不是很多,可以直接...
分类:
其他好文 时间:
2014-05-10 05:05:57
阅读次数:
589
现在又很多工具能将文字转换成图片,这样就可以发送长微博,其实python实现这很容易的,主要就是用到了pygame模块
import os
import pygame
from pygame.locals import *
pygame.init()
text = u"这是一段测试文本,test 123。"
font = pygame.font.SysFont('SimHei', 14)
...
分类:
编程语言 时间:
2014-05-10 04:25:52
阅读次数:
620
1、mysql_insert_id(): 重新插入一段数据,获取它的ID $id =
mysql_insert_id();2、修改数据信息:UPDATE UPDATE `topic` SET `rootid`=$id WHERE
id=$id;3、ajax效果: 一个text输入框,在里面输入一个值...
分类:
其他好文 时间:
2014-05-10 03:08:54
阅读次数:
308
今天遇到一个问题调试了很久,关于css的优先级问题.像常规的id选择器(#test) >
类选择器class(.test) > 标签选择器input (中间还有一些类型不详举了),相比大家都很清楚这次遇到就是input[type=text]
{background:red} 和 类选择器 .aa{b...
分类:
Web程序 时间:
2014-05-10 03:07:59
阅读次数:
387
1.兼容360浏览器 字体大小设置 开发中需要使用em单位1 font-size: 0.83em; 2
font-family: "Arial";3 -webkit-text-size-adjust: none;
分类:
Web程序 时间:
2014-05-10 02:34:08
阅读次数:
289