/// <summary>
        /// 应用主题
        /// </summary>
        /// <param name="style"></param>
        protected override void ApplyTheme(DialogStyle style)
        {
            base.ApplyTheme(style);

            panel1.BackColor  = style.TitleBackColor;
            panel1.ForeColor  = style.TitleForeColor;
            pictureBox1.Image = style.Icon;
        }
 /// <summary>
 /// 应用主题
 /// </summary>
 /// <param name="style"></param>
 protected virtual void ApplyTheme(DialogStyle style)
 {
     ForeColor = style.ForeColor;
     BackColor = style.BackColor;
 }