public CharPanelUpdate(frmMain main, ObjSkinSetting oss)
 {
     this.main = main;
     this.oss  = oss;
     this.nowOlv = new ObjLiplisVersion(oss.charName);
     initDataPanel();
     checkVersion();
 }
 private void reload()
 {
     this.nowOlv = new ObjLiplisVersion(oss.charName);
     checkVersion();
 }
        private void checkVersion()
        {
            //バージョンファイルチェック
            if (!nowOlv.skinVersion.Equals(""))
            {
                newOlv = new ObjLiplisVersion(oss.charName, nowOlv.versionUrl);

                if (!newOlv.skinVersion.Equals("") && nowOlv.skinVersion != newOlv.skinVersion)
                {
                    this.btnUpdate.Enabled = true;
                    baseColor = Color.FromArgb(255, 228, 96);
                    this.BackColor = baseColor;
                }
                else
                {
                    baseColor = Color.Azure;
                    this.BackColor = baseColor;
                    this.btnUpdate.Enabled = false;
                }
            }
            else
            {
                baseColor = Color.Azure;
                this.BackColor = baseColor;
                this.btnUpdate.Enabled = false;
            }
        }