Click here to Skip to main content
15,884,537 members

Comments by kumar9avinash (Top 49 by date)

kumar9avinash 15-Jun-16 3:36am View    
Hi Sir,

i am trying below way to make that boolean property to true but i am not able to do
void worker_DoWork(object sender, DoWorkEventArgs e)
{
if ( System.Windows.Application.Current==null)
{
new System.Windows.Application();
}

System.Windows.Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Background, new Action(() => IsWaitCursurDisplay = true)); // one way

//another way to set IsWaitCursurDisplay to true but nothing is happening , the value is not setting to true
System.Windows.Application.Current.Dispatcher.BeginInvoke(new Action(() =>
{
IsWaitCursurDisplay = true;
}));

}
kumar9avinash 15-Jun-16 0:16am View    
Hi sir, if i use background worker and set visibility of the user control in BW then it will reflect the UI ?
kumar9avinash 14-Jun-16 15:44pm View    
Hi Dave,
you are more than 100% correct,but can you suggest me something related to issue.
kumar9avinash 14-Jun-16 14:56pm View    
Hi Kennenth,there is no UI thread its the single apllication thread. i have not write any code releated to thread .
kumar9avinash 21-Aug-14 0:45am View    
hi himanshu thaks for your reply,i want to know one thing that the application which i have built is on windowds 7 and i am trying to run it on XP,is this causing the error ?