Issue with double clicking tray icon. Added list management.
This commit is contained in:
@@ -22,5 +22,53 @@ namespace BodyshopUploader.ViewModels
|
||||
return _testCommand;
|
||||
}
|
||||
}
|
||||
|
||||
private ICommand _openMainWindowCommand;
|
||||
public ICommand OpenMainWindowCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_openMainWindowCommand == null)
|
||||
{
|
||||
_openMainWindowCommand = new RelayCommand(
|
||||
p => true,
|
||||
p => Console.WriteLine("nada")
|
||||
); ;
|
||||
}
|
||||
return _openMainWindowCommand;
|
||||
}
|
||||
}
|
||||
|
||||
private ICommand _addMonitoringPathCommand;
|
||||
public ICommand AddMonitoringPathCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_addMonitoringPathCommand == null)
|
||||
{
|
||||
_addMonitoringPathCommand = new RelayCommand(
|
||||
p => true,
|
||||
p => AddFolderMonitoringPath()
|
||||
);
|
||||
}
|
||||
return _addMonitoringPathCommand;
|
||||
}
|
||||
}
|
||||
|
||||
private ICommand _removeMonitoringPathCommand;
|
||||
public ICommand RemoveMonitoringPathCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_removeMonitoringPathCommand == null)
|
||||
{
|
||||
_removeMonitoringPathCommand = new RelayCommand(
|
||||
p => true,
|
||||
p => RemoveFolderMonitoringPath(p as string)
|
||||
);
|
||||
}
|
||||
return _removeMonitoringPathCommand;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user