public TrayIconPresenter(ITrayView view, ISettingsSerializer settingsSerializer)
        {
            _settingsSerializer = settingsSerializer;
            _view = view;
            _view.CurrentSettings = _settingsSerializer.Deserialize();

            _view.ExitClicked += HandleExitClicked;
            _view.SettingsChanged += HandleSettingsChanged;
            _view.ShowMainClicked += HandleShowMainClicked;
            _view.ShowSettingsClicked +=HandleShowSettingsClicked;

            //Show tray icon at once
            _view.ShowView();
        }
        public TrayIconPresenter(ITrayView view, ISettingsSerializer settingsSerializer)
        {
            _settingsSerializer = settingsSerializer;
            _view = view;
            _view.CurrentSettings = _settingsSerializer.Deserialize();

            _view.ExitClicked         += HandleExitClicked;
            _view.SettingsChanged     += HandleSettingsChanged;
            _view.ShowMainClicked     += HandleShowMainClicked;
            _view.ShowSettingsClicked += HandleShowSettingsClicked;

            //Show tray icon at once
            _view.ShowView();
        }
 public void Show()
 {
     _view.ShowView();
 }