<!--------------------------------------------------------------------------->
<!-- INTRODUCTION
The Code Project article submission template (HTML version)
Using this template will help us post your article sooner. To use, just
follow the 3 easy steps below:
1. Fill in the article description details
2. Add links to your images and downloads
3. Include the main article text
That's all there is to it! All formatting will be done by our submission
scripts and style sheets.
-->
<!--------------------------------------------------------------------------->
<!-- IGNORE THIS SECTION -->
<html>
<head>
<title>The Code Project</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<Style>
BODY, P, TD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt }
H2,H3,H4,H5 { color: #ff9900; font-weight: bold; }
H2 { font-size: 13pt; }
H3 { font-size: 12pt; }
H4 { font-size: 10pt; color: black; }
PRE { BACKGROUND-COLOR: #FBEDBB; FONT-FAMILY: "Courier New", Courier, mono; WHITE-SPACE: pre; }
CODE { COLOR: #990000; FONT-FAMILY: "Courier New", Courier, mono; }
</style>
<link rel="stylesheet" type=text/css href="http://www.codeproject.com/styles/global.css">
</head>
<body bgcolor="#FFFFFF" color=#000000>
<!--------------------------------------------------------------------------->
<!------------------------------- STEP 1 --------------------------->
<!-- Fill in the details (CodeProject will reformat this section for you) -->
<pre>
Title: TV-LV-Basic V. 4.1
Author: Russell Mangel
Email: russell@tymer.net
Environment: C# .NET Release, Windows 2000 & Windows XP
Keywords: TreeView Control, ListView control, Windows Explorer
Level: Beginner to Intermediate
Description: Windows Explorer Clone "1st of a Series building Windows Explorer"
Section C# Controls
SubSection TreeView & ListView
</pre>
<hr width=100% noshade>
<!------------------------------- STEP 2 --------------------------->
<!-- Include download and sample image information. -->
<ul class=download>
<li><a href="tv-lv-basic41.zip">Download demo project - 117 Kb </a></li>
<li><a href="tv-lv-basic41.zip">Download source - 117 Kb</a></li>
</ul>
<p><img src="tv-lv-basic41.jpg" alt="Sample Image" width=800 height=600></p>
<!------------------------------- STEP 3 --------------------------->
<!-- Add the article text. Please use simple formatting (<h2>, <p> etc) -->
<p>The program uses the following controls: TreeView, ListView, Splitter,
MainMenu, StatusBar, Panel, ImageList, and ColumnHeaders for the ListView.<br>
Many of the properties are set using the designer, so I would suggest that you
download the project, unless of course you are not a beginner.</p>
<p><b>The program demonstrates the following:</b><br>
How to read files and directories from disk, using the DirectoryInfo instance
class.<br>
How to populate nodes in a TreeView Control.<br>
How to populate the ListView Control.<br>
How to use a basic StatusBar.<br>
How to use the After_Select Event of the TreeView Control.<br>
How to use the Item_Activate Event of the ListView Control.<br>
How to use the Load Event of the Form itself. </p>
<p><b>What I think is best about this program: <br>
</b>1. It is a simple design, which should help you to learn how to use the
TreeView Control, It took four revisions.<br>
2. Compared to many of the other sample or demo programs available, it loads
files and directories fast!<br>
3. The program only loads the necessary files and folders, not the entire
directory tree like many demos do.<br>
4. The TreeView's Tag property is entirely unused in this implementation,
leaving you a place to put something.<br>
5. There is only one event, and two methods which drive the TreeView control.<br>
6. This program uses a minimal amount of string chopping, unlike many other
demos in it's class.</p>
<b>
<p>In closing:<br>
</b>This program is designed to show the basics to the beginner, experts will
have to wait until I become an expert! There are too many hard decisions to
make when designing an Explorer Interface. So I have made some trade offs to
keep the code as readable as possible. I plan to remove the "hard coded" stuff
in future releases. One of the hardest decisions was to start the root
directories at the Drive level instead of nesting under the Desktop\MyComputer
nodes, which is what Windows Explorer does. You will also notice that I have
turned off the "+" and "-" indicators on the TreeView, this was by design as the
code to make this work properly is pretty complex for a beginner, not too
mention doubling the code. I am disappointed that .NET does not have an easy way
(maybe there is) too determine the type of drives attached to the computer. I
wanted to use PInvoke, but I figured I would do that in another series or
update.</p>
<p>If anyone has any comments please send email: russell@tymer.net </p>
<b>
<!------------------------------- That's it! --------------------------->
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
C#编写的windows资源管理器
共28个文件
ico:8个
exe:4个
projdata:2个
4星 · 超过85%的资源 需积分: 9 206 下载量 99 浏览量
2008-01-18
13:09:43
上传
评论
收藏 198KB RAR 举报
温馨提示
C#编写的windows资源管理器
资源推荐
资源详情
资源评论
收起资源包目录
C#编写的windows资源管理器.rar (28个子文件)
tv-lv-basic41
TV-LV-Basic
Form1.cs 12KB
bin
Debug
TV-LV-Basic.pdb 20KB
TV-LV-Basic.exe 28KB
Release
TV-LV-Basic.exe 28KB
obj
Debug
TV_LV_Basic.Form1.resources 636B
TV-LV-Basic.exe.incr 2KB
TV-LV-Basic.pdb 20KB
TV-LV-Basic.projdata 9KB
temp
TempPE
TV-LV-Basic.exe 28KB
Form1.resources 6KB
Release
TV-LV-Basic.projdata 8KB
temp
TempPE
TV-LV-Basic.exe 28KB
TV-LV-Basic.sln 918B
TV-LV-Basic.suo 7KB
TV-LV-Basic.csproj 4KB
XP-Icons
XP Folder Close.ico 77KB
XP Drive Network.ico 25KB
XP Drive Fixed.ico 25KB
XP Folder Open.ico 25KB
XP Drive 3.5.ico 23KB
XP No Access.ico 23KB
XP Drive CDROM.ico 25KB
App.ico 1KB
Form1.resx 14KB
TV-LV-Basic.csproj.user 2KB
AssemblyInfo.cs 2KB
tv-lv-basic41.jpg 111KB
codeproject_template.html 5KB
共 28 条
- 1
资源评论
- Xiang199102152012-11-01基本上实现了windows管理器的界面设计和一些简单的功能
- Frank_19922012-06-26还可以 就是界面不好看
- Bunny8162012-06-26内容很少,只有一个界面,没有代码。
NealShi
- 粉丝: 2
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功