Welcome to the FoxLearn
Today we will learn how to use Metro Progress Bar
First, You need to install the package Metro Framework
Metro Modern UI or MetroFramework brings Windows 8 UI to .NET Windows Forms applications
We will design a simple UI that allows you to start a metro progress bar
You need to create a Progress Report class with percent complete property
The Task class represents a single operation that does not return a value and that usually executes asynchronously
Task objects are one of the central components of the task-based asynchronous pattern first introduced in the .NET Framework 4
Because the work performed by a Task object, typically executes asynchronously on a thread pool thread rather than synchronously on the main application thread
You can use the Status property, as well as the IsCanceled, IsCompleted, and IsFaulted properties, to determine the state of a task
Most commonly, a lambda expression is used to specify the work that the task is to perform
You can create a list of dummy data to simulate how to insert data into database using process bar
Thank you for watching this video