public NotifyIconHolder(PresenterServiceProvider serviceProvider) { Debug.Assert(serviceProvider != null, "serviceProvider != null"); _serviceProvider = serviceProvider; _presenter = new appBlocks.NuGenPresenter(serviceProvider); _presenter.ExportDialogIcon = Resources.Bullet; _presenter.ExportDialogShowInTaskbar = true; _presenter.ExportSucceeded += _presenter_ExportSucceeded; _keyInterceptor = new NuGenKeyInterceptor(); _notifyIcon = new NotifyIcon(); _notifyIcon.Icon = Resources.Bullet; _notifyIcon.Text = Resources.Text_NotifyIcon_NuGenPresenter; _zoomInvokeTimer = new Timer(); _zoomInvokeTimer.Tick += _zoomInvokeTimer_Tick; _drawInvokeTimer = new Timer(); _drawInvokeTimer.Tick += _drawInvokeTimer_Tick; _notifyIcon.ContextMenuStrip = this.CreateContextMenuStrip(); _notifyIcon.Visible = true; this.ReadSettings(); }