Windows Forms: Internet Download Manager in C# Part 1
By Tan Lee Published on May 22, 2017 7.93K
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
Gentella Admin Template
Nov 14, 2024
11 Things You Didn't Know About Cloudflare
Dec 19, 2024
Horizon MUI Admin Dashboard Template
Nov 18, 2024
Modular Admin Template
Nov 14, 2024