private void DisplayReferenced() { BindingListView <INIBlock> blv = new BindingListView <INIBlock>(data.Referenced.ToList(), delegate(PropertyDescriptor property, ListSortDirection direction) { return(new INIComparer(property, direction)); }); viewReferenced.DataSource = blv; GridViewColumns.BlockColumns(viewReferenced); }
private void DisplayParameters() { BindingListView <INIParameter> blv = new BindingListView <INIParameter>(data.Parameters); viewProperties.DataSource = blv; GridViewColumns.ParameterColumns(viewProperties); }
private void DisplayBlocks() { blv = new BindingListView <INIBlock>(iParser.Blocks, delegate(PropertyDescriptor property, ListSortDirection direction) { return(new INIComparer(property, direction)); }); view.DataSource = blv; GridViewColumns.BlockColumns(view); exportToCSVToolStripMenuItem.Enabled = true; }