一、类型、变量、实例之间的关系。 类型》变量》实例 类型可以创建变量,实体类可以创建实例,实例可以存储在变量里。 二、lambda表达式的由来 private void button1_Click(object sender, EventArgs e) { //匿名委托 Func del //类型》...
1、IE中不兼容ajax中data最后一个参数加逗号,其余chrome Firefox均支持。code: 1 $("document ").ready(function() { 2 $(".btn_fbpl").click(function...
分类:
编程语言 时间:
2015-04-02 18:41:01
阅读次数:
153
点赞和取消代码(jquery)点赞代码:jQuery("a.qz_like_btn_v3[data-clicklog=‘like‘]").each(function(index,item){console.log(item);jQuery(item).trigger(‘click‘);});jQuery(window).scroll(function(){jQuery("a.qz_like_btn_v3[data-clicklog=‘like‘]").each(function(inde..
分类:
Web程序 时间:
2015-04-02 16:38:23
阅读次数:
265
function showTab() { $(".tab-nav li").click(function(){ var self = $(this), target = self.data("tab"); self.addClass("current").sibli...
分类:
Web程序 时间:
2015-04-02 15:02:12
阅读次数:
214
$(document).ready(function(){
$("按下回车的控件").keydown(function(e){
varcurkey=e.which;
if(curkey==13){
$("#回车事件按钮控件").click();
returnfalse;
}
});
});
分类:
Web程序 时间:
2015-04-01 20:26:35
阅读次数:
167
链接:click here~~ ,密码:nyist
C - 三角形问题
Description
给你一个由无穷个节点组成的三角形(如下图),你的任务很简单——任意给你两个正整数x和y,判断它们是否相邻(重合不是相邻)。
Input
第一行T,表示T组测试数据,接下来仅有两个32位正整数x 和y。
Output
对于每组测试数据,首先输出”Case...
分类:
其他好文 时间:
2015-04-01 20:01:36
阅读次数:
173
链接:click here~~
题意:求相交环面积
Matt is a big fan of logo design. Recently he falls in love with logo made up by rings. The following figures are some famous examples you may know.
A ring is a...
分类:
其他好文 时间:
2015-04-01 17:48:38
阅读次数:
142
/// /// 导出功能 /// /// /// protected void btn_export_Click(object sender, EventArgs e) { try { string st...
分类:
其他好文 时间:
2015-04-01 16:53:42
阅读次数:
81
一,效果图。二,源代码。 Basic CRUD Application - jQuery EasyUI CRUD Demo Basic CRUD Application Click the buttons on datagri...
分类:
移动开发 时间:
2015-04-01 13:03:31
阅读次数:
188
原文:C#取硬盘、CPU、主板、网卡的序号 ManagementObjectSearcher private void button1_Click(object sender, EventArgs e) { textBox1.Text = ""; foreach (string s in listB...