秋·风

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

1.拖放Label、button和popup控件到form

 

2.在structure将button1和label1拖到popup1上,然后调整布局就可以

 

 

Popup有几个重要的属性:
1.PlacementTarget:依附于那个控件弹出,当不设置这个属性值,依附的是当前的Form。
2.Placement:相对于所依附的控件所弹出的位置
3.HorizontalOffset:水平偏移量
4.VerticalOffset:垂直偏移量
posted on 2014-05-04 14:15  秋·风  阅读(1254)  评论(0编辑  收藏  举报