コード例 #1
0
 /// <summary>
 /// 预览
 /// </summary>
 private void ReView()
 {
     if (this.SwitchB2.Checked)
     {
         string path;
         if (SwitchB1.Checked)
         {
             path = this.lblBGPath.Text;
             if (path == "程序默认")
             {
                 path = "程序默认";
             }
             else if (!System.IO.File.Exists(path))
             {
                 path = "";
             }
         }
         else
         {
             path = "纯色";
         }
         frm.LoadTheme(path, this.lblThemeBGShow.BackColor, this.lblThemeFCShow.BackColor, this.lblPicShow.BackColor);
     }
 }