Create a new form, drag a button and the progressbarcontrol (devexpress) control in the button event private void simplebutton#click (Object sender, eventargs e) {// set a minimum value progressbarcontrol1.properties. minimum = 0; // set a maximum value progressbarcontrol1.properties. maximum = 1000; // set the step, that is, the number of progressbarcontrol1.properties added each time. step = 1; // set the progress bar style progressbarcontrol1.properties. progressviewstyle. = devexpress. xtraeditors. controls. progressviewstyle. solid; progressbarcontrol1.position = 0; For (INT I = 0; I <progressbarcontrol1.properties. maximum; I ++) {// process all windows message applications in the current message queue. doevents (); // specifies the time when the current thread is suspended. threading. thread. sleep (12); // The execution step progressbarcontrol1.performstep () ;}}to summarize progressbarcontrol for ease of use. You only need to give it a minimum value, the maximum value, and the step to execute progressbarcontrol1.performstep (); // process all windows message applications in the current message queue. doevents (); then OK