using System; using System.IO;//用于文件存取 using System.Data;//用于数据访问 using System.Drawing;//提供画GDI+图形的基本功能 using System.Drawing.Text;//提供画GDI+图形的高级功能 usi...
普通的text选中编辑时会出现蓝色的边框,感觉不太美观,怎么去掉呢?可以在text对应的样式里加入:outline:0;
分类:
其他好文 时间:
2014-06-18 08:46:16
阅读次数:
212
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace Sln0405 7 { 8 class Program 9 {1...
分类:
其他好文 时间:
2014-06-18 08:39:47
阅读次数:
159
1.动机将一个复杂对象的构建与它的表示分离,使得同样的构建过程可以创建不同的表示。一个RTF(Rich Text Format)文档交换格式的阅读器应能将RTF转换为多种正文格式。该阅读器可以将RTF文档转换成普通ASCII文本或转换成一个能以交互方式编辑的正文窗口组件。但问题在于可能转换的数目是无...
分类:
其他好文 时间:
2014-06-18 08:24:19
阅读次数:
345
去掉拼写检查:windows->preferences->General->Editors->Text Editors->Spelling 将“Enable spell checking”前的勾取消掉,就不进行拼写检查了。
去掉验证:windows->preferences->MyEclipse Enterprise Workbench->Validation 保留Manual,将Build列的...
分类:
系统相关 时间:
2014-06-18 06:29:12
阅读次数:
351
[WinError 2] 系统找不到指定的文件。
[cmd: ['g++', 'D:\\source-code\\sublime\\test.cpp', '-o', 'D:\\source-code\\sublime/test']]
[dir: D:\source-code\sublime]
[path: D:\program\basic\python3.4.0;C:\Windows\sys...
分类:
Windows程序 时间:
2014-06-18 00:56:24
阅读次数:
7280
以上代码没有任何设置text不可编辑的属性,text却不可编辑,将.inp的float属性去掉后text变为可编辑,但是该显示需要float属性。经过...
分类:
其他好文 时间:
2014-06-18 00:26:24
阅读次数:
521
<?phpHeader("Content-type:text/html;charset=utf-8");/*********************************《关于PHP面向对象的总结》**********************************前言:1.其实魔术方法也是方法是函数,跟前面讲的函数一样,只不过在类里面有$this->name这样的东西,他就是类的..
分类:
Web程序 时间:
2014-06-17 17:40:01
阅读次数:
297
importjava.text.DecimalFormat;
publicclassDecimalFormatTest
{
publicstaticvoidmain(String[]args){
DecimalFormatdf1,df2;
System.out.println("整数部分0/#的区别");
df1=newDecimalFormat("#.00");
df2=newDecimalFormat("0.00");
System.out.p..
分类:
其他好文 时间:
2014-06-17 17:32:15
阅读次数:
249
Java编写处理定时任务主要用到的类是java.util.Timer和java.util.TimerTask;如下几行代码就可以实现一个具有定时执行任务的定时器:importjava.text.ParseException;
importjava.text.SimpleDateFormat;
importjava.util.Date;
importjava.util.Timer;
importjava.util.TimerT..
分类:
编程语言 时间:
2014-06-17 17:16:38
阅读次数:
252