开发者

swap two panels in web application

开发者 https://www.devze.com 2023-02-12 17:21 出处:网络
i ha开发者_运维问答ve 2 panels & i want to swap those 2 panels. how can i do that in web application..?You could just swap their locations.Something like this would probably work.

i ha开发者_运维问答ve 2 panels & i want to swap those 2 panels. how can i do that in web application..?


You could just swap their locations. Something like this would probably work.

Point temp = Panel1.location;
Panel1.Location=Panel2.Location;
Panel2.Location=temp;

This way, you are merely swapping the location of the panels (and their contents).

0

精彩评论

暂无评论...
验证码 换一张
取 消