摘要:
using System.Speech.Synthesis; SpeechSynthesizer sSpeechSynthesizer = new SpeechSynthesizer(); sSpeechSynthesizer .Speak("化肥会挥发!!!"); 注:xp不支持中文 如何获取程序当前目录 System.IO.Path.GetDirectoryName(Ap... 阅读全文
摘要:
'获取CAD屏幕像素的比值 Function ViewScreen() As Double Dim ScreenSize As Variant ScreenSize = ThisDrawing.GetVariable("screensize") '当前视口的屏幕宽度和高度 Dim H As Variant H = ThisDrawing.GetVariable("views... 阅读全文
摘要:
原文地址:http://www.cnblogs.com/stray521/archive/2010/08/06/1793647.html //获取磁盘序列号try{ System.Management.ManagementObjectSearcher cmicWmi = new ManagementObjectSearcher ( "SEL... 阅读全文