partial void User2Clicked(NSObject sender)
        {
            int row = (int)UserTable.SelectedRow;

            if (row >= 0)
            {
                UserTableDataSource data = (UserTableDataSource)UserTable.DataSource;
                memoArea.TextStorage.MutableString.SetString((NSString)data.dataList[row].memo);


                User2Area.StringValue = data.dataList[row].name + "\n" +
                                        String.Format("{0:0000}/{1:00}/{2:00}-{3:00}:{4:00}:{5:00}",
                                                      data.dataList[row].date.Year,
                                                      data.dataList[row].date.Month,
                                                      data.dataList[row].date.Day,
                                                      data.dataList[row].date.Hour,
                                                      data.dataList[row].date.Minute,
                                                      data.dataList[row].date.Second
                                                      );
                ViewController vc = CommonInstance.getInstance().controller;

                vc.SetUserData(data.dataList[row], 2);
                vc.ReSetUserBox();
                if (CommonInstance.getInstance().customRings[0] == 2)
                {
                    vc.ReCalcUserDb(0, 2);
                }
                vc.ReRender();
            }
        }
        partial void UserTableClick(NSObject sender)
        {
            int row = (int)((NSTableView)sender).SelectedRow;

            if (row >= 0)
            {
                UserTableDataSource data = (UserTableDataSource)UserTable.DataSource;
                memoArea.TextStorage.MutableString.SetString((NSString)data.dataList[row].memo);
            }
        }
        /// <summary>
        /// ツリー再構築
        /// </summary>
        public void ReSetDbTree()
        {
            UserDbTreeDataSource dataSource = new UserDbTreeDataSource();
            List <TreeViewItem>  root       = new List <TreeViewItem>();
            TreeViewItem         rootNode   = UserDirTree.CreateDirectoryNode(new DirectoryInfo(Util.root + "/data"));

            root.Add(rootNode);
            dataSource.list             = root;
            UserDbDirOutline.DataSource = dataSource;
            UserDbDirOutline.ExpandItem(rootNode);
            UserTableDataSource data = (UserTableDataSource)UserTable.DataSource;

            data.dataList.Clear();
            UserTable.ReloadData();
        }
        /// <summary>
        /// 左側クリック
        /// </summary>
        /// <param name="sender">Sender.</param>
        partial void UserDbDirClick(NSObject sender)
        {
            int index = (int)UserDbDirOutline.SelectedRow;

            if (index == -1)
            {
                // 右クリック
                return;
            }
            TreeViewItem item = (TreeViewItem)UserDbDirOutline.ItemAtRow(index);

            // ここtodoね
            if (item.isDir)
            {
                CommonInstance.getInstance().SelectedDirectoryName     = item.fileName;
                CommonInstance.getInstance().SelectedDirectoryFullPath = item.FullPath;
                return;
            }
            else
            {
                CommonInstance.getInstance().SelectedDirectoryFullPath = item.FullPath;
                CommonInstance.getInstance().SelectedFileName          = item.fileName;
                CommonInstance.getInstance().SelectedUserData          = item.udata;
            }

            UserTable.AllowsColumnSelection = true;
            UserTableDataSource DataSource = new UserTableDataSource();

            DataSource.dataList.Add(new UserTableData()
            {
                name = item.udata.name,
                date = new DateTime(item.udata.birth_year,
                                    item.udata.birth_month,
                                    item.udata.birth_day,
                                    item.udata.birth_hour,
                                    item.udata.birth_minute,
                                    item.udata.birth_second),
                memo = item.udata.memo
            });

            UserTable.DataSource = DataSource;
            UserTable.Delegate   = new UserTableDelegate(DataSource);
            UserTable.ReloadData();
//                        ReSetDbTree();
        }