Image not shown in tree view , C#
<p>So in my project i would like have a nice treeview that has images.
but when i run the program the image was not shown. Any idea?
here is my code:</p>

<pre><code> while (thisreader.Read())    // i read from the database.
        {
            TreeNode tn = new TreeNode();
        tn.Text = thisreader["channel_name"].ToString();

        tn.ImageIndex = 1;
        tn.SelectedImageIndex = 1;   // i have my imagelist1 in the corresponding winform
        treeView1.Nodes.Add(tn);
        }
</code></pre>
