I want to show waiting message or working message until my method executed. I tried with RadWaitingBar. But its not started as I am expecting. Here is my code.
Can we lock Rad Windows form until my method finished and show some animation?
Thanks
try { WaitingBar(true); Save(); WaitingBar(false); } catch (Exception) { WaitingBar(false); RadMessageBox.Show("Error Occured"); throw; }private void WaitingBar(bool input) { if (input == true) { radWaitingBar1.Visible = true; radWaitingBar1.StartWaiting(); radWaitingBar1.Invalidate(); radWaitingBar1.Update(); radWaitingBar1.Refresh(); Application.DoEvents(); } else { radWaitingBar1.Visible = false; radWaitingBar1.StopWaiting(); } }Can we lock Rad Windows form until my method finished and show some animation?
Thanks