// TODO: load the trees from xml, not hardcoded
        private void InitTreeViews()
        {
            List<SimpleColumn> columns = new List<SimpleColumn>();

            // Users treeview:
            SimpleColumn column = new SimpleColumn();
            column.Name = "Code";
            column.Type = typeof(string);
            column.Visible = true;
            columns.Add(column);

            column.Name = "GroupName";
            column.Type = typeof(object);
            column.Visible = true;
            columns.Add(column);
            this.doubleListView.CreateLeftList(columns);

            // Groups treeview:
            columns.Clear();
            column.Name = "Code";
            column.Type = typeof(string);
            column.Visible = true;
            columns.Add(column);

            column.Name = "Groupname";
            column.Type = typeof(object);
            column.Visible = true;
            columns.Add(column);
            this.doubleListView.CreateRightList(columns);
        }
        // TODO: load the trees from xml, not hardcoded
        private void InitTreeViews()
        {
            // Enterprises treeview:
            List<SimpleColumn> columns = new List<SimpleColumn>();
            SimpleColumn column = new SimpleColumn();
            column.Name = "Code";
            column.Type = typeof(string);
            column.Visible = true;
            columns.Add(column);

            column.Name = "Name";
            column.Type = typeof(object);
            column.Visible = true;
            columns.Add(column);

            column.Name = "Description";
            column.Type = typeof(string);
            column.Visible = true;
            columns.Add(column);
            ftreeviewEnterprises.Create(columns);

            // Users treeview:
            columns.Clear();
            column.Name = "Code";
            column.Type = typeof(string);
            column.Visible = true;
            columns.Add(column);

            column.Name = "Username";
            column.Type = typeof(object);
            column.Visible = true;
            columns.Add(column);
            ftreeviewUsers.Create(columns);

            // Groups treeview:
            columns.Clear();
            column.Name = "Code";
            column.Type = typeof(string);
            column.Visible = true;
            columns.Add(column);

            column.Name = "Groupname";
            column.Type = typeof(object);
            column.Visible = true;
            columns.Add(column);
            ftreeviewGroups.Create(columns);
        }