public StartViewModel()
{
IsStartPageVisible = true;
#region Commands
OpenSignInPageCommand = new RelayCommand(
() =>
{
IsSignInPageVisible = true;
IsStartPageVisible = false;
IsCaptchaPageVisible = false;
},
() => IsStartPageVisible);
OpenRegisterPageCommand = new RelayCommand(
() =>
{
IsRegisterPageVisible = true;
IsStartPageVisible = false;
IsCaptchaPageVisible = false;
},
() => IsStartPageVisible);
OpenCaptchaPageCommand = new RelayCommand(
() =>
{
IsCaptchaPageVisible = true;
IsRegisterPageVisible = false;
IsStartPageVisible = false;
},
() => IsStartPageVisible);
GoBackToStartCommand = new RelayCommand(() =>
{
IsSignInPageVisible = false;
IsRegisterPageVisible = false;
IsStartPageVisible = true;
});
SignInCommand = new RelayCommand<Page>(SignIn);
RegisterPhase1Command = new RelayCommand<Page>(RegisterPhase1);
RegisterPhase2Command = new RelayCommand<Page>(RegisterPhase2);
#endregion
}