/// <summary>
 /// 设置系统按钮样式
 /// </summary>
 /// <param name="style">系统按钮样式</param>
 public void SetStyle(SysButtonStyle style)
 {
     switch (style)
     {
     case SysButtonStyle.KingSoftV4:
         this.Size        = new Size(43, 21);
         mStatusImages[0] = Resources.sysbtn_ksv4_close_normal;
         mStatusImages[1] = Resources.sysbtn_ksv4_close_over;
         mStatusImages[2] = Resources.sysbtn_ksv4_close_down;
         break;
     }
     // 重新设置控件状态以便绘制背景图像
     ControlStatus = ControlStatus.Normal;
 }
 /// <summary>
 /// 设置系统按钮样式
 /// </summary>
 /// <param name="style">系统按钮样式</param>
 public void SetStyle(SysButtonStyle style)
 {
     switch (style)
     {
         case SysButtonStyle.KingSoftV4:
             this.Size = new Size(43, 21);
             mStatusImages[0] = Resources.sysbtn_ksv4_close_normal;
             mStatusImages[1] = Resources.sysbtn_ksv4_close_over;
             mStatusImages[2] = Resources.sysbtn_ksv4_close_down;
             break;
     }
     // 重新设置控件状态以便绘制背景图像
     ControlStatus = ControlStatus.Normal;
 }