摘要:
先在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 阅读全文
摘要:
功能有限,暂时不能分页,有待进一步完善。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 阅读全文