Added main page + started notify icon implementation.
This commit is contained in:
26
BodyshopUploader/ViewModels/MainViewModel.commands.cs
Normal file
26
BodyshopUploader/ViewModels/MainViewModel.commands.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace BodyshopUploader.ViewModels
|
||||
{
|
||||
public partial class MainViewModel : BaseViewModel
|
||||
{
|
||||
private ICommand _testCommand;
|
||||
public ICommand TestCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_testCommand == null)
|
||||
{
|
||||
_testCommand = new RelayCommand(
|
||||
p => true,
|
||||
p =>
|
||||
{
|
||||
logger.Info("test command clicked");
|
||||
});
|
||||
}
|
||||
return _testCommand;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user