<?xml version="1.0"?>
<rss version="2.0">
<channel>

  
  
<title>Programming tips - Responses</title>
<link>http://blogs.korzh.com:80/progtips/</link>
<description>Different programming problems and their solutions</description>
<language>en</language>
<managingEditor>Sergiy Korzh</managingEditor>
<lastBuildDate>Mon, 27 Feb 2012 22:58:32 GMT</lastBuildDate>
  

  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>Re: Update ListBox item in Windows Forms</title>
    <link>http://blogs.korzh.com:80/progtips/2008/05/10/update-listbox-item-in-windows-forms.html#comment1330383512977</link>
    <description>
      I was getting an exception on this and i was having a hard time figuring it out. I had to turn off the event listener for selection changed:

        listBoxTestFiles.SelectedIndexChanged -= listBoxTestFiles_SelectedIndexChanged;
        listBoxTestFiles.ClearSelected();
        listBoxTestFiles.Items[index] = newName;
        listBoxTestFiles.SelectedIndex = index;
        listBoxTestFiles.SelectedIndexChanged += listBoxTestFiles_SelectedIndexChanged;
    </description>
    <author>Sean</author>
    <comments>http://blogs.korzh.com:80/progtips/2008/05/10/update-listbox-item-in-windows-forms.html#comments</comments>
    <guid isPermaLink="true">http://blogs.korzh.com:80/progtips/2008/05/10/update-listbox-item-in-windows-forms.html#comment1330383512977</guid>
    <pubDate>Mon, 27 Feb 2012 22:58:32 GMT</pubDate>
  </item>
  
  <item>
    <title>Re: Item dragging in Windows Forms ListBox control</title>
    <link>http://blogs.korzh.com:80/progtips/2008/06/10/item-dragging-in-windows-forms-listbox-control.html#comment1321351911004</link>
    <description>
      Excellent work.
    </description>
    <author>Ken</author>
    <comments>http://blogs.korzh.com:80/progtips/2008/06/10/item-dragging-in-windows-forms-listbox-control.html#comments</comments>
    <guid isPermaLink="true">http://blogs.korzh.com:80/progtips/2008/06/10/item-dragging-in-windows-forms-listbox-control.html#comment1321351911004</guid>
    <pubDate>Tue, 15 Nov 2011 10:11:51 GMT</pubDate>
  </item>
  
  <item>
    <title>Re: Update ListBox item in Windows Forms</title>
    <link>http://blogs.korzh.com:80/progtips/2008/05/10/update-listbox-item-in-windows-forms.html#comment1320091612235</link>
    <description>
      Also works:&lt;br /&gt;
&lt;br /&gt;
Controls.Remove(myListBox);&lt;br /&gt;
Controls.Add(myListBox);
    </description>
    <author>Capashin</author>
    <comments>http://blogs.korzh.com:80/progtips/2008/05/10/update-listbox-item-in-windows-forms.html#comments</comments>
    <guid isPermaLink="true">http://blogs.korzh.com:80/progtips/2008/05/10/update-listbox-item-in-windows-forms.html#comment1320091612235</guid>
    <pubDate>Mon, 31 Oct 2011 20:06:52 GMT</pubDate>
  </item>
  
  </channel>
</rss>

