2007年4月16日

摘要: 1.GetName()System.Reflection.Assembly asm = System.Reflection.Assembly.LoadFile(this.textBox1.Text);strVersion = asm.GetName().Version.ToString();2.自己获得System.Reflection.Assembly asm = System.Reflecti... 阅读全文
posted @ 2007-04-16 22:45 哈哈 阅读(177) 评论(0) 推荐(0)
 
摘要: 使用API函数SystemParametersInfo,注意this.textBox1.text中是文件名,文件类型是bmp格式 using System.Runtime.InteropServices;[DllImport("user32.dll", CharSet = CharSet.Auto)] public static extern int SystemParameter... 阅读全文
posted @ 2007-04-16 22:29 哈哈 阅读(432) 评论(0) 推荐(0)