随笔分类 -  Winform

WebBrowser用法总结
摘要:简单用了一下记录一下:privatevoidbutton1_Click(objectsender,EventArgse){MessageBox.Show(webBrowser1.Document.Body.InnerHtml);//得到浏览器html内容,还可以用GetElementById();}privatevoidForm2_Load(objectsender,EventArgse){webBrowser1.Navigate("http://www.it100.info");}url:http://greatverve.cnblogs.com/archive/2011 阅读全文

posted @ 2011-11-10 10:40 h2内存数据库 阅读(263) 评论(0) 推荐(0) 编辑

C#获取电脑硬盘,网卡,CPU的序列号
摘要:我实验了还可以,但是我只是截取了部分代码,见下面:private void button1_Click(object sender, EventArgs e){string cpuInfo = "";//cpu序列号ManagementClass cimobject = new ManagementClass("Win32_Processor");ManagementObjectCollection moc = cimobject.GetInstances();foreach (ManagementObject mo in moc){cpuInfo = 阅读全文

posted @ 2011-09-20 20:33 h2内存数据库 阅读(703) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示