Example #1
0
        private void FrmWebDev_Load(object sender, EventArgs e)
        {
            WebDevInfo info = WebDevBuilderSerializer.Deserialize();

            WebDevServerBuilder.WebDev_WebServer_Exe  = info.ExeName;
            WebDevServerBuilder.WebDev_WebServer_Path = info.Path;
            DevenvCommand.MSBuildFileFullPath         = info.VSDevenvFileFullPath;
            txtWebDev.Text = info.GetFullName();
            txtVSDev.Text  = info.VSDevenvFileFullPath.Trim('"');

            SiteList = SiteSerialize.Deserialize();
            BindSites();
        }
Example #2
0
 private void SaveSites()
 {
     SiteList.Clear();
     foreach (var uc in panSites.Controls)
     {
         var us = uc as UCSite;
         if (us != null)
         {
             SiteList.Add(us.WebSite);
         }
     }
     SiteSerialize.Serialize(SiteList);
 }