【问题标题】:Form load freezes when setting Stylemanager.ManagerColorTint设置 Stylemanager.ManagerColorTint 时表单加载冻结
【发布时间】:2013-03-04 08:05:31
【问题描述】:

当我的foarload 事件方法触发时,我就有了

Try 
    '//this is the default or modified color tint
    StyleManager1.ManagerColorTint = ColorTint
Catch ex As Exception
End Try

它到达StyleManager1.ManagerColorTint = ColorTint 然后当我继续时它就会冻结,

StyleManager1DevComponents.DotNetBar.StyleManager

目前stylemanager1.managercolortint 是 255, 50, 50, 50 和ColorTint一样。

如果我在这一行设置断点,它仍然会冻结,除非我绕过该行,否则一切运行良好。

如果它再次碰到那条线,它仍然会冻结。

有人有什么想法吗?

【问题讨论】:

    标签: vb.net winforms form-load


    【解决方案1】:

    嗯...也许在 catch ex as Exception 行下,尝试打印一些东西,例如msgbox("Error") 看看它是否到达那里,即使你说它冻结了。

    我希望这会有所帮助,如果没有,我深表歉意。

    【讨论】:

      猜你喜欢
      • 2019-11-10
      • 1970-01-01
      • 2010-10-09
      • 1970-01-01
      • 2011-02-10
      • 1970-01-01
      • 1970-01-01
      • 2012-11-02
      • 1970-01-01
      相关资源
      最近更新 更多