Exemplo n.º 1
0
        protected void btnAffiliate_Click(object sender, EventArgs e)
        {
            //Install Shield creating
            Skins  oAffiliate = new Skins(Page, AffID);
            string sError     = oAffiliate.UpdateSkin();

            if ((sError != "") && (sError != null))
            {
                lblInfo.Text      = sError;
                lblInfo.ForeColor = Color.Red;
            }
            else
            {
                lblInfo.Text      = "Skins Install files were updated";
                lblInfo.ForeColor = Color.Green;
            }
        }