internal ResultNodeCollection(MmcListView listView) : base(typeof(ResultNode)) { this._itemsById = new Hashtable(); if (listView == null) { throw new ArgumentNullException("listView"); } this._listView = listView; }
internal MmcListViewColumnCollection(MmcListView listView) : base(typeof(MmcListViewColumn)) { this._itemsById = new Hashtable(); if (listView == null) { throw new ArgumentNullException("listView"); } this._listView = listView; MmcListViewColumn column = new MmcListViewColumn(Microsoft.ManagementConsole.Internal.Utility.Resources.GetString(Microsoft.ManagementConsole.Internal.Strings.MicrosoftManagementConsoleFxColumnDefaultTitle, CultureInfo.CurrentUICulture), -1, MmcListViewColumnFormat.Left, true); column.ListView = this._listView; column.Changed += new MmcListViewColumn.ColumnChangedEventHandler(this.ItemChanged); this._itemsById[column.Id] = column; base.InnerList.Add(column); }