Click here to Skip to main content
15,919,245 members

Comments by hash0077 (Top 1 by date)

hash0077 15-Jan-16 2:02am View    
Hi Mika. For your information, while doing processing i will call this new thread to show the progress animation. I will call this method busyIndicatorHelper.HideBusyIndicator() to close the to end the thread before close the window using this.close. Is the thread not close or dispose properly? thanks for the reply.
public void HideBusyIndicator()
{
//closes the Progress window
if(_isActive)
progWindow.Dispatcher.Invoke(new Action(progWindow.Close));
_isActive = false;
}