Change the location of an object programmatically

前端 未结 6 870
南笙
南笙 2020-12-01 12:19

I\'ve tried the following code:

 this.balancePanel.Location.X = this.optionsPanel.Location.X;

to change the location of a panel that I mad

6条回答
  •  -上瘾入骨i
    2020-12-01 12:24

    When the parent panel has locked property set to true, we could not change the location property and the location property will act like read only by that time.

提交回复
热议问题