public class CookiesUtils{ public static void
SetCookie(String key, String value) { SetCookie(key, value, null, null, null,
false); } ...
分类:
其他好文 时间:
2014-07-22 23:16:34
阅读次数:
339
以下设置可实现窗体无最大化,并且不能拖大拖小BorderIcon
设为---biMax[False] biHelp [False]BorderStyle 设为---bsSingle 参考--------------
可以通过设置窗体的属性以及编程的方法,限制和控制窗体的变化。如让窗体不能最小化、最大...
android-async-http发送请求时,真正执行请求的地方是在AsyncHttpRequest类中的,有两个方法:
private void makeRequest() throws IOException { if (isCancelled()) { r...
分类:
移动开发 时间:
2014-07-22 23:14:34
阅读次数:
689
$.ajax({type:"get", url:"http://",
data:"name="+userid+"&password="+password,async:true,
error:function(request){alert("Connectionerror"); }, success:...
分类:
Web程序 时间:
2014-07-22 23:06:54
阅读次数:
373
public DateTime? StatusDateTime =
null;脑子便也出现个问号,这是什么意思呢?网上搜下,总结如下:1.
可空类型修饰符(?):引用类型可以使用空引用表示一个不存在的值,而值类型通常不能表示为空。例如:string str=null; 是正确的,int
i=null...
分类:
其他好文 时间:
2014-05-01 14:46:33
阅读次数:
347
Form2 f2 = new Form2(); //实例化窗体FORM2 f2.TopLevel =
false; //设置为非顶级窗体 f2.FormBorderStyle = FormBorderStyle.None; ...
一之半解,以为PageSetting能解决横纵向的问题printdocument.DefaultPageSettings.Landscape =
true;//横向printdocument.DefaultPageSettings.Landscape = false;//纵向其实这只是一个进纸方向,...
分类:
其他好文 时间:
2014-04-30 16:46:30
阅读次数:
429
//冒泡排序publicclassbubblesorter{publicvoidsort(int[]list){inti,j,temp;booldone=false;j=1;while((jlist[i+1]){done=false;temp=list[i];list[i]=list[i+1];li...
分类:
其他好文 时间:
2014-04-29 17:21:45
阅读次数:
429
$.support.leadingWhitespace如果是false, 就是ie8及以下,
如果是true, 就是新的浏览器, 包括firefox, chrome, ie9以上
分类:
其他好文 时间:
2014-04-29 17:14:47
阅读次数:
255
Validate if a given string is numeric.Some
examples:"0"=>true" 0.1 "=>true"abc"=>false"1
a"=>false"2e10"=>trueNote:It is intended for the problem stat...
分类:
其他好文 时间:
2014-04-29 16:45:45
阅读次数:
398