c#使用parent為什么圖片向下移動了
pictureBox1.BackColoor=Color.Transparent;
pictureBox2.Parent=pictureBox1;
使用了panel套著圖片
uj5u.com熱心網友回復:
每個控制元件默認都有3單位的margin值,你把pictureBox1和pictureBox2的margin都改成0試下,應該就不會動了uj5u.com熱心網友回復:
我試了你說的,不過好像沒有作用啊轉載請註明出處,本文鏈接:https://www.uj5u.com/net/93474.html
標籤:C#
上一篇:幫忙推薦一款簡單好用的CMS系統
