public NotifyIconWrapper(TaskListViewModel taskListVM)
        {
            InitializeComponent();

            _repository = new TimeIntervalRepository();

            // タイマーのインスタンス生成
            _taskListVM        = taskListVM;
            _taskRecorderTimer = new TaskRecorderTimer();
            _taskRecorderTimer.DailyTaskRecorderTimerTickEventHandler += new TaskRecorderTimer.TimerTickEventHandler(CallBackEventProgress);

            // Work 終了のインスタンス作成
            _endWorkVM = new EndWorkViewModel(_taskRecorderTimer);
            _endWorkVM.DailyTaskRecorderActionChangeEventHandler += new EndWorkViewModel.ActionChangeEventHandler(CallBackStartAction);

            // コンテキストメニューのイベントを設定
            this.toolStripMenuItem_Exit.Click     += this.toolStripMenuItem_Exit_Click;
            this.toolStripMenuItem_Start.Click    += this.toolStripMenuItem_Start_Click;
            this.toolStripMenuItem_Break.Click    += this.toolStripMenuItem_Break_Click;
            this.toolStripMenuItem_Settings.Click += this.toolStripMenuItem_Settings_Click;
            this.toolStripMenuItem_TaskEdit.Click += this.toolStripMenuItem_TaskEdit_Click;

            // TextBox の初期化
            toolStripMenuItem_TimeText.Text = "00:00";
        }
 public EndWorkViewModel(TaskRecorderTimer taskRecorderTimer)
 {
     _taskRecorderTimer = taskRecorderTimer;
     StartCommand       = new DelegateCommand(Start);
     BreakCommand       = new DelegateCommand(Break);
 }