Added main page + started notify icon implementation.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user