How to Program A Disk Browser in C#

  Рет қаралды 3,306

Code With Huw

Code With Huw

Күн бұрын

Пікірлер: 12
@jacobparra4570
@jacobparra4570 Жыл бұрын
Thanks for sharing this applications and knowledge. At first I hated C#, but now I'm fascinated with Visual Studio and C# power! This is awesome!
@LearnWithHuw
@LearnWithHuw Жыл бұрын
Thanks. Have fun programming it!
@everydaystoic196
@everydaystoic196 Жыл бұрын
Excellent explanation Huw! Excited about the next video!!
@karolajoj_pl
@karolajoj_pl Жыл бұрын
Great video, it helped me a lot! However, I noticed a small bug in the code. In the method 'treeView_BeforeExpand' when expanding the tree nodes, the sub-elements get duplicated. To resolve this issue, you can add a simple if statement before the line 'AddDirs(node);' like this: if (tn.Nodes.Count == 0) AddDirs(tn); This will prevent duplicate sub-elements from being added. Keep up the good work!
@LearnWithHuw
@LearnWithHuw Жыл бұрын
Thanks for the comment. Yes, you are quite right. I have a far more complicated TreeView project (written in Object Pascal/Delphi) which goes into all these sorts of issues in more depth. You can find it in my playlists. If I come back to the C# File Explorer (which I probably will soon, as there are a few other projects I have that it may be used for), I'll try to remember to spend time on doing more checks and optimisations. Best wishes. Huw
@LearnWithHuw
@LearnWithHuw Жыл бұрын
Incidentally, it's worth pointing out that my code only shows the very basics of file browsing with C#. It does not, for example, deal with changes made to files and directories by other applications (e.g. adding, deleting or renaming using the Windows File Explorer). So be careful about "over optimizing" code. In fact, a good case could be made for doing far more "recreation" of nodes when browsing to ensure that everything is up to date with changes that may have been made by other applications.
@GaryChike
@GaryChike Жыл бұрын
Great content Huw🎉 Keep ‘em comin‘ !
@LearnWithHuw
@LearnWithHuw Жыл бұрын
Thanks, Gary. Lots more to come in the new year!
@GaryChike
@GaryChike Жыл бұрын
@@LearnWithHuw Looking forward to it 🚀
@__hannibaalbarca__
@__hannibaalbarca__ Жыл бұрын
Good , I like to make in Console mode with c and c++.
How To Program a File Manager in C# (part 2)
13:15
Code With Huw
Рет қаралды 2,5 М.
Learn Any Programming Language In 3 Hours!
22:37
Code With Huw
Рет қаралды 511 М.
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 8 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 23 МЛН
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 56 МЛН
The ONE Thing Most C Programmers Get Wrong!
11:02
Code With Huw
Рет қаралды 32 М.
C# Tutorial - Chromium Browser using CefSharp | FoxLearn
7:44
Java Explained: bit, byte, short, int, long (and how to convert them)
13:56
Working With The File System in C# - Managing Folders and Files
35:07
"EXPIRED" MILK TURNED INTO FREE FOOD - how to make farmer's cheese at home
16:04
Self Serving Skillet
Рет қаралды 3,9 МЛН
C# - How to create File Explorer msdn
6:16
MrWonderHow
Рет қаралды 7 М.
Arc Security Allows Access To Anyone's Browser
19:21
ThePrimeTime
Рет қаралды 126 М.
Why 4d geometry makes me sad
29:42
3Blue1Brown
Рет қаралды 648 М.
File Explorer Isn't The Only Option
24:36
CyberCPU Tech
Рет қаралды 61 М.
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 8 МЛН