Calling child window from AccountProvider

0 views
Skip to first unread message

telebovich

unread,
Aug 26, 2011, 9:32:31 AM8/26/11
to Seesmic Desktop Platform Development
Hello.
I'm new to seesmic plugin developement. I started a new plugin
recently.

I created a ChildWindow class, added it as a DataTemplate in Templates
file, also created a property
which gets it from templates.

I got stuck with a simple question. How to call/show this ChildWindow
from AuthenticateAsync(...)
so i can get authenticated?

Thank you in advance,
Robert Lebovich.

George Ionita

unread,
Aug 29, 2011, 2:52:48 AM8/29/11
to seesmic-d...@googlegroups.com
Hi Robert,
 
It's as simple as
 
var child = new MyChildWindow(); // or your
child.Closed = (s, e) =>
{
       // from here you have to invoke the callback that you received on the args of AuthenticateAsync
       callback(this, ....);
};
child.Show();
 
Feel free to use the samples that were posted on the forums.
 
Thanks,
George
Reply all
Reply to author
Forward
0 new messages