Issue with double clicking tray icon. Added list management.
This commit is contained in:
24
BodyshopUploader/Utils/TrayIcon.cs
Normal file
24
BodyshopUploader/Utils/TrayIcon.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace BodyshopUploader.Utils
|
||||
{
|
||||
public class OpenMainWindowCommand : ICommand
|
||||
{
|
||||
public void Execute(object parameter)
|
||||
{
|
||||
new Views.Main().Show();
|
||||
}
|
||||
|
||||
public bool CanExecute(object parameter)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public event EventHandler CanExecuteChanged;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user