Login Page

Jun 20, 2014 at 7:24 AM
I'm new to MUI and XAML app development. I have a question to ask all of you. I created an app, and there should be a login page whenever they run the app.

How can I do this?

Jun 24, 2014 at 1:18 AM
Edited Jun 24, 2014 at 1:18 AM
At App.xaml,

<Application .... Startup="Application_Startup">

At App.xaml.cs,

private void Application_Startup(object sender, StartupEventArgs e)
// Create main window first before showing login.
App.Current.MainWindow = new MainWindow();

var login = new LoginView();

// Do something what you need like as checking authentication and then...
Marked as answer by seangkim on 6/26/2014 at 8:14 PM
Jun 27, 2014 at 3:15 AM
Thanks for you help!
Aug 15, 2014 at 12:50 PM

In this case what type is LoginView? Is this a regular Window class I create or it uses something from the moder ui library?

Thannk you,