private: System::Void ProgressBarSave_Load(System::Object^ sender, System::EventArgs^ e) { for (int i = 0; i < 4; i++) { Thread::Sleep(3000); progressBar1 -> Value +=25; //progress Bar Value if ( i == 3) { Close(); //Closes The Dialog } } }
Timer class
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)