Windows Forms: Internet Download Manager in C# Part 1
By Tan Lee Published on May 22, 2017 8.15K
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
Structured Data using FoxLearn.JsonLd
Jun 20, 2025
Implement security headers for an ASP.NET Core
Jun 24, 2025
What Are RESTful Web Services?
Feb 19, 2024
Plus Admin Dashboard Template
Nov 18, 2024