Grofit
March 30th, 2009, 02:17 AM
Hey there,
Should just be a simple thing i hope...
I have a table layout panel that i am using for organising images, like a picture grid. Im currently creating the table panel, setting the columncount to 6 then adding some dummy picture boxes.
The picture boxes have a black background and have a fake Bitmap object contained as well as a fixedsingle border, just to make them show up. However when i do MyPanel.Controls.Add(DummyPictureBox); it shows up in the list of controls with the panel, it just doesnt seem to display them... ive tried refreshing the panel and tried re-sizing it as well as anything else i can think of, and its just driving me mad... any ideas?
Should just be a simple thing i hope...
I have a table layout panel that i am using for organising images, like a picture grid. Im currently creating the table panel, setting the columncount to 6 then adding some dummy picture boxes.
The picture boxes have a black background and have a fake Bitmap object contained as well as a fixedsingle border, just to make them show up. However when i do MyPanel.Controls.Add(DummyPictureBox); it shows up in the list of controls with the panel, it just doesnt seem to display them... ive tried refreshing the panel and tried re-sizing it as well as anything else i can think of, and its just driving me mad... any ideas?