public DialogResult ShowDialog(TreeVM tree)
        {
            if (tree == null) { throw new ArgumentNullException("tree"); }

            this._logs = new BindingList<LogDO>(tree.LoadLogs());

            this._currentTree = tree;
            this._treeDesLbl.Text = tree.LogLevelDiscription;

            this._dataGrid.DataSource = this._logs;
            this._dataGrid.Focus();

            var result = ShowDialog();
            tree.LogCountDirty = true;
            return result;
        }
        public DialogResult ShowDialog(TreeVM tree)
        {
            this._currentTree = tree;

            this._logs = new BindingList<LogDO>(tree.LoadLogs());

            this._treeDesLbl.Text = tree.LogLevelDiscription;

            this._BS_Logs.DataSource = this._logs;
            this._dataGrid.DataSource = this._BS_Logs;
            this._dataGrid.Focus();
            tree.LogCountDirty = true;
            return this.ShowDialog();
        }