public SharesPage(FileShareManagerIPlugIn.PluginNodeType nodetype) { InitializeComponent(); // Create an instance of a ListView column sorter and assign it // to the ListView control. lvwColumnSorter = new ListViewColumnSorter(); this.lvSharePage.ListViewItemSorter = lvwColumnSorter; Icon ic = new Icon(Resources.SharedFolder, 48, 48); this.picture.Image = ic.ToBitmap(); this.nodeType = nodetype; }