Added main page + started notify icon implementation.

This commit is contained in:
Patrick Fic
2020-01-16 14:37:05 -08:00
parent e34ffebf53
commit 0daf17a3f0
9 changed files with 166 additions and 9 deletions

View File

@@ -5,18 +5,18 @@ namespace BodyshopUploader.ViewModels
{
public partial class LoginViewModel : BaseViewModel
{
private ICommand _testCommand;
public ICommand TestCommand
private ICommand _openMainCommand;
public ICommand OpenMainCommand
{
get
{
if (_testCommand == null)
if (_openMainCommand == null)
{
_testCommand = new RelayCommand(
_openMainCommand = new RelayCommand(
p => true,
p => Console.WriteLine("Hi"));
p => { Views.Main m = new Views.Main(); m.Show(); });
}
return _testCommand;
return _openMainCommand;
}
}