Windows Forms: Internet Download Manager in C# Part 1
By FoxLearn 5/22/2017 8:37:05 PM 7.29K
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
How to Download Chromedriver for Selenium
08/29/2024
C# Tutorial
07/20/2024
How to Download Microsoft SQL Server
06/22/2024
What Are RESTful Web Services?
02/19/2024