public UpLoad()
 {
     webset = new Cms.DAL.WebSet().loadConfig(Utils.GetXmlMapPath("Configpath"));
     filePath = webset.WebPath + webset.WebFilePath;
     fileType = webset.WebFileType;
     fileSize = webset.WebFileSize;
     isWatermark = webset.IsWatermark;
     waterStatus = webset.WatermarkStatus;
     waterQuality = webset.ImgQuality;
     imgWaterPath = webset.WebPath + webset.ImgWaterPath;
     waterTransparency = webset.ImgWaterTransparency;
     textWater = webset.WaterText;
     textWaterFont = webset.WaterFont;
     textFontSize = webset.FontSize;
 }
        private readonly int textFontSize;      //文字大小

        public UpLoad()
        {
            webset            = new Cms.DAL.WebSet().loadConfig(Utils.GetXmlMapPath("Configpath"));
            filePath          = webset.WebPath + webset.WebFilePath;
            fileType          = webset.WebFileType;
            fileSize          = webset.WebFileSize;
            isWatermark       = webset.IsWatermark;
            waterStatus       = webset.WatermarkStatus;
            waterQuality      = webset.ImgQuality;
            imgWaterPath      = webset.WebPath + webset.ImgWaterPath;
            waterTransparency = webset.ImgWaterTransparency;
            textWater         = webset.WaterText;
            textWaterFont     = webset.WaterFont;
            textFontSize      = webset.FontSize;
        }
 public ManagePage()
 {
     this.Load += new EventHandler(ManagePage_Load);
     webset = new Cms.DAL.WebSet().loadConfig(Server.MapPath(ConfigurationManager.AppSettings["Configpath"].ToString()));
 }
Beispiel #4
0
 public ManagePage()
 {
     this.Load += new EventHandler(ManagePage_Load);
     webset     = new Cms.DAL.WebSet().loadConfig(Server.MapPath(ConfigurationManager.AppSettings["Configpath"].ToString()));
 }