public MainWindow()
        {
            Mouse.OverrideCursor = Cursors.Wait;

            InitializeComponent();

            SaveAndLoader = new SaveAndLoader(this);

            //データの読み込み
            SaveAndLoader.LoadData();

            WindowTitleHolder = new WindowTitleHolder(this);
            ListViewSetter    = new ListViewSetter(this);
            TogglManager      = new TogglManager(this);
            SettingMenuWindow = new SettingWindow(this);
            NotifyIconSetter  = new NotifyIconSetter(this);
            ContextMenuSetter = new ContextMenuSetter(this);
            TimeCounter       = new TimeCounter(this);

            //日付を確認し、今日の日付と違っていれば更新
            UpdateDateOfAppDatas();

            //メニューの作成
            CreateMenu();

            SetView();
            SetEvents();

            Mouse.OverrideCursor = null;
        }
 /// <summary>
 /// アプリケーションのデータを削除
 /// </summary>
 /// <param name="appData"></param>
 public void RemoveAppData(AppDataObject appData)
 {
     appData.RemoveAllFileData();
     lock (AppDatas)
     {
         AppDatas.Remove(appData);
     }
     ListViewSetter.UpdateListView();
     SaveAndLoader.SaveCsvData();
     IconGetter.RemoveIconImage(appData.ProcessName);
 }
 /// <summary>
 /// アプリ終了時に呼ばれ、データを保存
 /// </summary>
 private void OnExit()
 {
     ExitAllApps();
     SaveAndLoader.SaveCsvData();
 }