25 lines
597 B
C#
25 lines
597 B
C#
using System;
|
|
using System.Windows.Input;
|
|
|
|
namespace BodyshopUploader.ViewModels
|
|
{
|
|
public partial class LoginViewModel : BaseViewModel
|
|
{
|
|
private ICommand _openMainCommand;
|
|
public ICommand OpenMainCommand
|
|
{
|
|
get
|
|
{
|
|
if (_openMainCommand == null)
|
|
{
|
|
_openMainCommand = new RelayCommand(
|
|
p => true,
|
|
p => { Views.Main m = new Views.Main(); m.Show(); });
|
|
}
|
|
return _openMainCommand;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|