【问题标题】:How to get coordinates of ToolStripButton?如何获取 ToolStripButton 的坐标?
【发布时间】:2011-05-05 23:06:51
【问题描述】:

如何获取ToolStripButton的坐标?

【问题讨论】:

    标签: .net winforms user-interface coordinates toolstripbutton


    【解决方案1】:
     Rectangle rc = toolStripButton1.Bounds;
    

    来自 ToolStrip 的亲戚。使用 PointToScreen/Client 进行映射。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-01-27
      • 2011-10-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-03-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多