Windows Forms: Internet Download Manager in C# Part 1
By FoxLearn 5/22/2017 8:37:05 PM 7.63K
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
Dashboardkit Bootstrap
11/13/2024
Horizon MUI Admin Dashboard Template
11/18/2024
AdminKit Bootstrap 5 HTML5 UI Kits Template
11/17/2024
Portal HTML Bootstrap
11/14/2024