作者: Jiszen
查看: 1700|回复: 2
打印 上一主题 下一主题

SkinPushPanel报错问题

[复制链接]
跳转到指定楼层
楼主
Jiszen 发表于 2018-1-24 18:18:07 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
查看: 1700|回复: 2
SkinPushPanel里面带TableLayoutPanel,带skinButton,点击折叠时候报错


System.ArgumentException
  HResult=0x80070057
  Message=矩形“{X=0,Y=0,Width=137,Height=0}”的宽度或高度不能等于零。
  Source=System.Drawing
  StackTrace:
   在 System.Drawing.Drawing2D.LinearGradientBrush..ctor(Rectangle rect, Color color1, Color color2, LinearGradientMode linearGradientMode)
   在 CCWin.SkinControl.SkinButton.RenderBackgroundInternal(Graphics g, Rectangle rect, Color baseColor, Color borderColor, Color innerBorderColor, RoundStyle style, Int32 roundWidth, Single basePosition, Boolean drawBorder, Boolean drawGlass, LinearGradientMode mode)
   在 CCWin.SkinControl.SkinButton.OnPaint(PaintEventArgs e)
   在 System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   在 System.Windows.Forms.Control.WmPaint(Message& m)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
   在 System.Windows.Forms.Button.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 转播转播
回复 论坛版权

使用道具 举报

沙发
乔克斯 发表于 2018-1-25 00:47:47 | 只看该作者
试试www.cskin.net 最新版
板凳
 楼主| Jiszen 发表于 2019-3-14 18:20:19 | 只看该作者
乔克斯 发表于 2018-1-25 00:47
试试www.cskin.net 最新版

请问下使用这个控件默认标题栏颜色,标题字体好像有点变形,这个有办法吗
您需要登录后才可以回帖 登录 | 加入CSkin博客

本版积分规则

QQ|申请友链|小黑屋|手机版|Archiver|CSkin ( 粤ICP备13070794号

Powered by Discuz! X3.2  © 2001-2013 Comsenz Inc.  Designed by ARTERY.cn
GMT+8, 2024-5-8 10:27, Processed in 0.535650 second(s), 30 queries , Gzip On.

快速回复 返回顶部 返回列表