TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
jitendra kumar
NA
4
1.7k
how to pause the execution pointer using dispatcher in silverligh not wpf
Jul 30 2012 8:50 AM
We have the following problem: "blocking" or "modal" means that the instruction pointer of our execution should remain at its position as long as the dialog is shown, and when the dialog is closed, it should continue.
it is working in wpf
public
bool
ShowHandlerDialog(
string
message)
{
Message = message;
Visibility = Visibility.Visible;
_parent.IsEnabled =
false
;
_hideRequest =
false
;
while
(!_hideRequest)
{
//
HACK: Stop the thread if the application is about to close
if
(
this
.Dispatcher.HasShutdownStarted ||
this
.Dispatcher.HasShutdownFinished)
{
break
;
}
//
HACK: Simulate "DoEvents"
this
.Dispatcher.Invoke( DispatcherPriority.Background,
new
ThreadStart(
delegate
{ }));
Thread.Sleep(
20
);
}
return
_result;
}
but same thing i want to implement in silverlight pls help me it's urgent
Reply
Answers (
0
)
Rtrieving images from database
passing parameters from To & from mainpage to mvvm