In the main window of the program, actions are performed, it is necessary while actions are performed to open another window and there in order for the progress bar to fill up for example in 10 seconds and the window is closed. How to do it in parallel with the work of 1 window?

  • The essence of programs with graph interface is that all windows belonging to this program work in one common thread, for example, in the case of WinForms, the [STAThread] attribute on Main or in the case of WPF, the [System.STAThreadAttribute()] attribute tells us about it. An example of how to make a progress bar with a task that is performed for a long time is here - Bulson

0