上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页
  2007年6月26日
摘要: <htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>打开一个窗口</title><scripttype="text/javascript">...functionopenwin()...{OpenWindow=window.open("","测试程序","height=200,width=200,toolbar=no,scrollbars=scroll,menubar=no"); 阅读全文
posted @ 2007-06-26 13:53 wkjs 阅读(201) 评论(0) 推荐(0) 编辑
摘要: <htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>网页朗读程序</title><scripttype="text/javascript">...//定义并创建ActiveX控件varVoiceObj=newActiveXObject("Sapi.SpVoice");//选择朗读语言functionChangeVoice()...{vari=parseInt(idsVoices.value);VoiceObj.Voic 阅读全文
posted @ 2007-06-26 13:27 wkjs 阅读(264) 评论(0) 推荐(0) 编辑
  2007年6月18日
摘要: 先在C盘下找到sapi.dll文件,添加的引用usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Forms;usingSpeechLib;namespaceWindowsApplication1...{publicpartialclassForm1:Form...{publicForm1()...{InitializeComponent();}private 阅读全文
posted @ 2007-06-18 12:00 wkjs 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 功能有限,暂时不能分页,有待进一步完善。privatevoidtwo(PrintPageEventArgse,DataSetaa)...{FontHeadFont=newFont("宋体",18);FontBodyFont=newFont("宋体",12);Graphicsg=e.Graphics;Penpen=newPen(Color.Black,1);Rectanglerect=newRectangle(40,30,740,aa.Tables[0].Rows.Count*30+130);g.DrawRectangle(pen,rect);g.Draw 阅读全文
posted @ 2007-06-18 11:26 wkjs 阅读(684) 评论(0) 推荐(0) 编辑
  2007年6月8日
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Forms;usingSystem.Drawing.Printing;namespaceWindowsApplication1...{publicpartialclassForm1:Form...{publicForm1()...{InitializeComponent();}privatevoidForm1 阅读全文
posted @ 2007-06-08 10:42 wkjs 阅读(189) 评论(0) 推荐(0) 编辑
  2007年4月26日
摘要: <%...@PageLanguage="C#"%><!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><scriptrunat="server">...protectedvoidButton1_Click(objectsender,EventArgse)...{iframe1.Attributes[&quo 阅读全文
posted @ 2007-04-26 09:12 wkjs 阅读(134) 评论(0) 推荐(0) 编辑
  2007年4月17日
摘要: <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>未命名頁面</title><scripttype="text/javascript">...functiona 阅读全文
posted @ 2007-04-17 13:04 wkjs 阅读(142) 评论(0) 推荐(0) 编辑
  2007年4月13日
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Diagnostics;namespaceProcess_Test...{classProcess_Test...{publicstaticvoidMain()...{Processa=newProcess();a.StartInfo.CreateNoWindow=true;a.StartInfo.UseShellExecute=false;a.StartInfo.RedirectStandardOutput=true;a.StartInfo.Fil 阅读全文
posted @ 2007-04-13 12:20 wkjs 阅读(147) 评论(0) 推荐(0) 编辑
  2007年4月12日
摘要: Web服務端代碼<%@WebServiceLanguage="C#"Class="WebService"%>usingSystem;usingSystem.Web;usingSystem.Web.Services;usingSystem.Web.Services.Protocols;[WebService(Namespace="http://tempuri.org/")][WebServiceBinding(ConformsTo=WsiProfiles.BasicProfile1_1)]publicclassWebServ 阅读全文
posted @ 2007-04-12 14:27 wkjs 阅读(179) 评论(0) 推荐(0) 编辑
  2007年3月9日
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Diagnostics;namespaceProject1...{classClass1...{[STAThread]publicstaticvoidMain(string[]args)...{//{163976CC-B5F7-4654-85EA-5637AC29B7BA}stringsysroot=System.Environment.SystemDirectory;System.Diagnostics.Process.Start(sysroot+ 阅读全文
posted @ 2007-03-09 16:56 wkjs 阅读(170) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页