张银的博客


Eat to live, but do not live to eat.

导航

04 2012 档案

摘要:using System;using System.Collections.Generic;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using Microsoft.Win32;public partial class PrintSetDefault : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { if (ReadReg() == 1) { ... 阅读全文

posted @ 2012-04-28 14:03 张银 阅读(1243) 评论(0) 推荐(2) 编辑

摘要:<html><head> <title>打-印-预-览</title> <script language="javascript" type="text/javascript"> <!-- //弹窗打印函数 function printPage(id) { var needHTML = document.getElementById(id).innerHTML; //alert(needHTML); var OpenWindow = window.open("print.ht.. 阅读全文

posted @ 2012-04-28 13:44 张银 阅读(634) 评论(0) 推荐(0) 编辑

摘要:<html><head> <title>打-印-预-览</title> <script type="text/javascript" language="javascript"> var hkey_root, hkey_path, hkey_key hkey_root = "HKEY_CURRENT_USER" hkey_path = "\\software\\Microsoft\\Internet Explorer\\PageSetup\\" //设置网 阅读全文

posted @ 2012-04-25 16:01 张银 阅读(5783) 评论(0) 推荐(0) 编辑

摘要:using System;using System.Collections.Generic;using System.Text;namespace temp{ public class QuickSort { /// <summary> /// 排序 /// </summary> /// <param name="numbers">待排序数组</param> /// <param name="left">数组第一个元素索引Index</param> /// <param na. 阅读全文

posted @ 2012-04-08 23:50 张银 阅读(635) 评论(0) 推荐(0) 编辑