Windows Forms: Internet Download Manager in C# Part 1
By Tan Lee Published on May 22, 2017 7.91K
How to make an Internet Download Manager like IDM in C#
Step 1: Click New Project, then select Visual C# on the left, then Windows and then select Windows Forms Application. Name your project "DownloadManager" and then click OK
Step 2: Design your form as below
Name your main form: frmMain
Name your setting form: frmSetting
Name your add url form: frmAddUrl
Name your download form: frmDownload
Step 3: Create a dataset to store your donwload data, you can use dataset as a database
Step 4: Create an App class to create a new instance for your dataset
static class App { static Database db; public static Database DB { get { if (db == null) db = new Database(); return db; } } }
You can use a singleton pattern to create an instance. A singleton pattern ensure a class has only one instance
VIDEO TUTORIALS
Categories
Popular Posts
Portal HTML Bootstrap
Nov 13, 2024
Freedash bootstrap lite
Nov 13, 2024
11 Things You Didn't Know About Cloudflare
Dec 19, 2024
How to disable Windows Defender SmartScreen
Dec 24, 2024