文件名称:得到系统的特殊路径,C#源代码//System
文件大小:37KB
文件格式:RAR
更新时间:2012-01-12 08:17:31
得到系统的特殊路径,C#源代码//System
得到系统的特殊路径,C#源代码//System this.listView1.View = View.Details; this.listView1.GridLines = true; this.listView1.Columns.Add("环境变量", 150, HorizontalAlignment.Left); this.listView1.Columns.Add("变量值", 150, HorizontalAlignment.Left); ListViewItem myItem; myItem = new ListViewItem(Environment.SpecialFolder.ApplicationData.ToString(), 0); myItem.SubItems.Add(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)); this.listView1.Items.Add(myItem); myItem = new ListViewItem(Environment.SpecialFolder.Favorites.ToString(), 0); myItem.SubItems.Add(Environment.GetFolderPath(Environment.SpecialFolder.Favorites)); this.listView1.Items.Add(myItem); myItem = new ListViewItem(Environment.SpecialFolder.Cookies.ToString(), 0); myItem.SubItems.Add(Environment.GetFolderPath(Environment.SpecialFolder.Cookies)); this.listView1.Items.Add(myItem); myItem = new ListViewItem(Environment.SpecialFolder.System.ToString(), 0); myItem.SubItems.Add(Environment.GetFolderPath(Environment.SpecialFolder.System)); this.listView1.Items.Add(myItem); 用VisualStudio2008创建
【文件预览】:
C#081222-得到系统的特殊路径
----teshuPass.sln(917B)
----teshuPass.suo(13KB)
----新建 文本文档.txt(1KB)
----teshuPass()
--------Form1.cs(2KB)
--------bin()
--------obj()
--------teshuPass.csproj(4KB)
--------Properties()
--------Program.cs(490B)
--------Form1.Designer.cs(2KB)
--------Form1.resx(6KB)