Quantcast
Channel: PictureBox Expansion Problem
Viewing all articles
Browse latest Browse all 10

PictureBox Expansion Problem

$
0
0

Add a SplitContainer to your form and set it for a horizontal split.  Then move your buttons to the lower half and the picturebox to the top half.

Set the split container to dock fill and the same for the picturebox.

Now I added the splitcontainer and when I run it, everything is gone.  No loaded image, no buttons. just a grey window.    I docked the SpiltContainer and then docked the pbLoadedImage in the top SplitContainer.Panel1.  The buttons are in Panel2.  This is what it looks like now.

 Photobucket

This is what I get now when I run it.

Photobucket


Viewing all articles
Browse latest Browse all 10

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>