【问题标题】:Create a form with the appearance of a menu创建具有菜单外观的表单
【发布时间】:2014-03-06 14:12:08
【问题描述】:

如何创建这样的菜单?

【问题讨论】:

    标签: c# winforms forms button user-interface


    【解决方案1】:

    我找到了一个自定义 Form 的解决方案。

    http://www.vcskicks.com/custom_shape_form_region.php

    具体步骤如下:

    • 扫描Bitmap 获取对比色
    • 将颜色的位置作为Rectangle 添加到GraphicsPath 对象
    • GraphicsPath 对象创建一个自定义形状的Region

    【讨论】:

      猜你喜欢
      • 2011-07-28
      • 2011-12-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多