textBox用法总结:
1 去掉边框 【注:this = textBox】
this.BorderStyle = System.Windows.Forms.BorderStyle.None;
2 设置字体
this.Font = new System.Drawing.Font(this.Font.Name, 11);
3 设置光标
this.Focus();//光标移动到当前textBox中
this.SelectAll(); //选中所有内容
this.SelectionStart = this.Te...
一个很newbee的例子,可惜还得改 1 import sys 2 import time 3 4 import socket 5 import struct 6 7 import random 8 9 def SendPacketData (Buffer = None , DestIP = ...
分类:
其他好文 时间:
2015-01-08 00:50:01
阅读次数:
339
? 更换界面的最小化、最大化和关闭图标 1.在窗体的XMAL文件中,将窗体的WindowStyle属性设置为"None"; ShowInTaskBar属性设置窗体最小化时是否现在在任务栏中,设置为True显示在任务栏中,设置为False不显示在任务栏中。 2.在窗体最小化、最大化、关闭的地方添加3个...
详细参考:http://css.doyoe.com/是否回到初始状态: animation-fill-mode:forwards; -webkit-animation-fill-mode:forwards;animation-fill-mode : none | forwards | backwar...
分类:
Web程序 时间:
2015-01-07 12:47:56
阅读次数:
147
输入一组数字(最多15个),去掉连续次数大于等于三的数字,如果去掉后仍有连续次数大于等于三的,继续进行同样的处理,直到结果中没有出现连续次数大于等于三的数字为止。
如果最终全部消除完了 输出“none”
输入:1 1 1 1 2 2 2 1 3 3 3 3 1 1 1
输出:none
#include
#include
using namespace std;
...
分类:
其他好文 时间:
2015-01-07 09:25:44
阅读次数:
168
border :基本语法border: border-width || border-style || border-color 默认值为: medium none 。border-color 的默认值将采用文本颜色相关属性:border-top,border-left,border-right,b...
分类:
Web程序 时间:
2015-01-07 00:38:36
阅读次数:
196
CSS3圆角border-radius也是比较常用的,有了圆角,可以少很多图片了:)语法:border-radius : none | {1,4} [/ {1,4} ]?说明:length不可为负值。border-radius是一种缩写方法。如果“/”前后的值都存在,那么“/”前面的值设置其水平半径...
分类:
Web程序 时间:
2015-01-06 20:04:38
阅读次数:
267
最近做了一个winform的程序,本机上界面对得很齐,到一到客户的机器上就惨不忍睹,一番研究后搞定: 1. AutoScaleMode = None 2. BackgroundImageLayout = None 疯吻IT...
1、问题: 表单按钮用input type=submit和a链接两者表现不一致的问题。input{ border:none; }.btn{ ...; display:inline-block; }.btn{line-height: 35px; padding: 0px 30px; } ①解决方案:....
分类:
Web程序 时间:
2015-01-06 11:53:04
阅读次数:
174
1.块状list.list_box{ padding:0px; 15px 30px; width:970px; margin:0 auto; overflow:hidden;}.list_items{ list-style:none; width:1020px;}.list_items li{ wi...
分类:
其他好文 时间:
2015-01-06 00:42:37
阅读次数:
209