There is a function that can be performed for a long time. Screw the form. But it does not fully render. A good example with Timer did not find. Perhaps experts will tell you how to solve?
// блокирую основную форму this->Enabled = false; // вызываю форму с текстом "Подождите..." F3=gcnew Form3(); F3->Show(this); // без этой строчки после закрытия формы основная прячется this->F3->Closed += gcnew EventHandler(this,&Form1::form2_Closed); // выполнение "тяжелой" функции grid = gridObj.getResolve(grid); // закрываю форму "Подождите..." this->F3->Close(); // разблокировал основную форму this->Enabled = true; As a result, Label does not render:
Is it possible to do something without a timer? Tell me an example solution for Visual C ++ with a timer.
