private void LoadIcons(object Params)
 {
     Invoke(new MethodInvoker(
             delegate
             {
                 lvIcons.BeginUpdate();
                 lvIcons.Items.Clear();
                 IconReader ir = new IconReader();
                 icons = ir.ReadIcons(Params.ToString(), new Size(48, 48));
                 foreach (IconFile icon in icons)
                 {
                     ListViewItem lvi = new ListViewItem("#" + icon.Index.ToString());
                     lvi.Tag = icon.Index;
                     lvIcons.Items.Add(lvi);
                 }
                 lvIcons.EndUpdate();
                 
             }));
     
 }
 void bw_DoWork(object sender, DoWorkEventArgs e)
 {
     IconReader ir = new IconReader();
     icons = ir.ReadIcons(tbLibrary.Text, new Size(48, 48));
 }