Contact Us
Forum Home
>
Cocktail
>
Community Forum
New Posts
FAQ
Search
Calendar
Register
Login
dialogresult and screen
Post Reply
Author
Message
Share Topic
Printable Version
Delicious
Digg
Facebook
Furl
Google Boomarks
Google Buzz
MySpace
Newsvine
reddit
StumbleUpon
Translate
Twitter
Windows Live
Yahoo Bookmarks
Topic Search
Topic Options
Post Reply
Create New Topic
mgood
Members Profile
Send Private Message
Find Members Posts
Visit Members Homepage
Add to Buddy List
IdeaBlade
Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options
Post Reply
Quote mgood
Report Post
Quote
Reply
Topic: dialogresult and screen
Posted: 07-Mar-2012 at 11:01am
DialogOperationResult<DialogResult> res;
yield return (res = dialogManager.ShowDialog(viewmodel, DialogButtons.YesNo));
if (res.DialogResult == DialogResult.Yes)
// Code when Yes was clicked
else
// Code when No was clicked
pponzano
Members Profile
Send Private Message
Find Members Posts
Add to Buddy List
Senior Member
Joined: 28-Apr-2011
Location: Italy
Posts: 165
Post Options
Post Reply
Quote pponzano
Report Post
Quote
Reply
Posted: 07-Mar-2012 at 7:37am
Hello,
how do I handle a screen showed by
DialogOperationResult<DialogResult> res;
yield return (res = dialogManager.ShowDialog(viewmodel, DialogButtons.YesNo));
I've the two buttons on the dialog...don't know how to attach code to them,
thanks
Post Reply
Forum Jump
-- Select Forum --
Community Forum
Community Forum
Community Forum now on StackOverflow
DevForce 2012
DevForce 2010
DevForce 2009
DevForce Classic
Forum Permissions
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
delete your posts in this forum
You
cannot
edit your posts in this forum
You
cannot
create polls in this forum
You
cannot
vote in polls in this forum