Home > Net >  C # using the parent why move down the picture
C # using the parent why move down the picture

Time:09-28

C # using the parent why pictures move down the
PictureBox1. BackColoor=Color. Transparent;
PictureBox2. Parent=pictureBox1;
Using the panel set the picture

CodePudding user response:

Each control, there are three unit margin value of the default you try put pictureBox1 and pictureBox2 margin to 0, should not move

CodePudding user response:

I tried what you said, but it seems no effect
  •  Tags:  
  • C#
  • Related