(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

Creating a Custom Async Dialog for your Windows 8 Apps Part 1 - LoginDialog

(0 votes)
0 comments   /   posted by Silverlight Show on Oct 29, 2012
Tags:   windows-8 , winrt , asynchronous , shawn-kendrot

Read original post by Shawn Kendrot at Visually Located

For a recent Windows Store App, I needed to create a way for people to log into it. I could have easily created a simple control or page that allowed the user to enter their login information, but I wanted to work with the new async/await architecture. I thought that creating a login dialog that fit this pattern would be a fun adventure. I wanted to follow the same pattern found in the MessageDialog class so it would be easy to use and understand how it works. This is part one of a two part blog. Part one will cover creating a LoginDialog class that only handles the ability to login. Part two will cover changing that class to be a more generic CustomDialog class that allows for custom content. By the end of the blog we’ll create a LoginDialog that will display a login to the user that looks a lot like the login you get from the People app.


Comments

No comments

Add Comment

Login to comment:
  *      *       

Our News on Twitter