Same Tree
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal if they are structurally identical and
the n...
分类:
其他好文 时间:
2014-06-19 12:49:17
阅读次数:
301
取文件的大小 (KB,MB,GB...)
2种方式: VB 和 C#
1, VB
Public Function GetFileSize(ByVal iFileSizeKB As Long) As String
Dim iFileSizeMB As Integer
Dim iFileSizeGB As Integer
If (iFileSizeKB >= 1024) Th...
分类:
其他好文 时间:
2014-06-19 12:39:06
阅读次数:
310
Sample Page!
<!--
function TestEvent(){
document.MyForm.tex...
分类:
Web程序 时间:
2014-06-19 12:24:38
阅读次数:
252
EBS OAF开发中如何实现功能页签(Global Tab)(版权声明,本人原创或者翻译的文章如需转载,如转载用于个人学习,请注明出处;否则请与本人联系,违者必究)功能页签的实现不需要任何编码,和subTab不一样,可以和subTab共存。其主要实现是靠配置,步骤如下:1. 建立两个OAF页面的Function. 2. ...
分类:
其他好文 时间:
2014-06-19 10:43:38
阅读次数:
288
转自:http://blog.csdn.net/mailreboot/article/details/1946866 1 //结束进程 2 function
KillTask(ExeFileName: string): Integer; 3 const 4 PROCESS_TERMINATE = ....
分类:
其他好文 时间:
2014-06-16 07:11:11
阅读次数:
270
mvvm moudle-view-viewMoudle 之意moudle 为数据view
为展示viewMoudle为view与moudle的桥梁页面view部分 moudle 和viewMoudlegroot.view("myview",
function (vm, ve) { ...
分类:
其他好文 时间:
2014-06-16 06:23:47
阅读次数:
198
获取mq中消息然后处理失败重试机制:下面的代码是php连接mq客户端的获取queue队列中的消息代码: public function
createDurableSubscriber($queue,$callback){ $f =
$this->con->subscribe($queue); ...
分类:
Web程序 时间:
2014-06-16 00:48:12
阅读次数:
1752
换成:用$("#myBtn").click(function(){...//判断验证});表单提交js:function
formSubmit(){if(flag=="1"){$("#form").submit();}else
if(flag=="2"){$("#form").attr("actio...
分类:
其他好文 时间:
2014-06-13 18:44:05
阅读次数:
183
Javascript构造函数大家都不陌生,function A(){};A.prototype.fn
= function(){};var F = new
A();一个简单的构造函数没有任何问题,但是如果调用构造函数的时候指针的问题不知道大家有没有想过,如果直接调用A()的话,指针就会指向windo...
分类:
编程语言 时间:
2014-06-13 18:13:15
阅读次数:
253
groot.createElement = function (html, id) {
groot.dynamic[id] = id; return $(html).append("")
}从上面得代码可以看出函数在html代码片段的后面加了隐藏的input并在g...
分类:
其他好文 时间:
2014-06-13 16:02:52
阅读次数:
187