摘要: using System;using System.Collections.Generic;using System.Diagnostics;using System.Linq;using System.Text;using System.Threading;namespace ThreadPool... 阅读全文
posted @ 2014-12-12 23:12 萌浩 阅读(120) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace ProduceConsume{ class Program ... 阅读全文
posted @ 2014-12-12 22:07 萌浩 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 详情:http://www.cnblogs.com/waw/archive/2011/08/29/2158763.html例一:using System;using System.Collections.Generic;using System.Linq;using System.Runtime.R... 阅读全文
posted @ 2014-12-12 21:34 萌浩 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.jb51.net/article/24101.htm一、变量的作用域 要理解闭包,首先必须理解Javascript特殊的变量作用域。变量的作用域无非就是两种:全局变量和局部变量。Javascript语言的特殊之处,就在于函数内部可以直接读取全局变量。Js代码 var n... 阅读全文
posted @ 2014-11-25 16:31 萌浩 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 一、使用步骤二、示例代码using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;namespace WebApplication3.Controller... 阅读全文
posted @ 2014-10-12 10:34 萌浩 阅读(199) 评论(0) 推荐(0) 编辑
摘要: LESS:一种动态样式语言。LESS 将 CSS 赋予了动态语言的特性,如 变量, 继承, 运算, 函数. LESS 既可以在 客户端 上运行 (支持IE 6+, Webkit, Firefox),也可以借助Node.js或者Rhino在服务端运行。在介绍如何通过 lessc (less源码编译器)... 阅读全文
posted @ 2014-09-21 17:14 萌浩 阅读(21261) 评论(0) 推荐(0) 编辑
摘要: package com.shz.loadimg;import android.app.Activity;import android.graphics.Bitmap;import android.graphics.BitmapFactory;import android.graphics.Bitma... 阅读全文
posted @ 2014-09-01 23:24 萌浩 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 一、布局代码1.activity_main.xml View Code2.tab1.xml View Code3.tab2.xml View Code二、前台代码1.MainActivity.javapackage com.example.tabfragment;i... 阅读全文
posted @ 2014-08-31 22:17 萌浩 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 简单的“Tab选项卡”示例一、UI布局文件4个1.activity_main.xml View Code2.tab1.xml View Code3.tab2.xml View Code4.tab3.xml ... 阅读全文
posted @ 2014-08-31 22:12 萌浩 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 一、UI布局代码 View Code二、MainActivity代码package com.shz.localservice;import android.app.Activity;import android.content.BroadcastReceiver... 阅读全文
posted @ 2014-08-31 12:23 萌浩 阅读(276) 评论(0) 推荐(0) 编辑