详细解释:1, 主窗体Form1属性IsMdiContainer设为True,并添加ToolStrip控件, Toolstrip中添加一个按钮toolStripButton1。 2,添加新窗体Form2。 3,主窗体Form1中toolStripButton1的Click事件 ...
分类:
移动开发 时间:
2014-07-30 11:40:53
阅读次数:
173
$('.del').on('click', function () { var id = $(this).attr('id'); var url = '/m/g2_content_del/' + id; ...
分类:
Web程序 时间:
2014-07-30 11:30:03
阅读次数:
221
//这是一个webserviceprivate AppUpdate.UpdateServ UpdateSvr; private void button1_Click(object sender, System.EventArgs e) { if(LinkWebServices()=...
分类:
其他好文 时间:
2014-07-30 09:54:23
阅读次数:
258
$(function () {
$("#btn1").click(function () {
alert($("input[name='r1']:checked").val()) //获取选中的值
})
$("#btn2").click(function () {
...
分类:
Web程序 时间:
2014-07-30 01:01:42
阅读次数:
307
.class1{ color:Red}
.class2{ font-size:100px}
$(function () {
$("#btn1").click(function () { //当点击#btn1的时候给#div1添加一个class2的样式
$("#div1").addClas...
分类:
其他好文 时间:
2014-07-29 22:08:22
阅读次数:
247
Reverse Integer
java,python,C++三种代码练习
Reverse digits of an integer.
Example1: x = 123, return 321
Example2: x = -123, return -321
click to show s...
分类:
其他好文 时间:
2014-07-29 22:02:52
阅读次数:
333
jquery中的事件绑定:$("#btn").bind("click",function(){})...
分类:
Web程序 时间:
2014-07-29 18:06:22
阅读次数:
496
每一个javascript事件(例如:click,mouseover等)都会冒泡到父级节点。当我们需要给多个元素调用同一个函数时这点会很有用。比如,我们要为一个表格绑定这样的行为:点击td后,把背景色设置为红色,代码如下:$(".myTable td").click(function(){ $...
分类:
其他好文 时间:
2014-07-29 16:49:32
阅读次数:
250
Windows VMware Tools安装很简单。 1.?On the host, from the Workstation menu bar, select?VM?>?Manage?>?Install VMware Tools 2. click OK and then restart. Linux VMware Tools安装估计有点困难,我也...
分类:
其他好文 时间:
2014-07-29 16:10:59
阅读次数:
316
privatevoidLogin_Click(objectsender,System.EventArgse){//作为唯一标识的Key,应该是唯一的,这可根据需要自己设定规则。//做为测试,这里用用户名和密码的组合来做标识;也不进行其它的错误检查。//生成KeystringsKey=UserName...
分类:
其他好文 时间:
2014-07-29 13:46:18
阅读次数:
190