private void LaunchWebAdmin()
        {
            IDesignerHost host = (IDesignerHost)this.GetService(typeof(IDesignerHost));

            if (host != null)
            {
                IWebAdministrationService service = (IWebAdministrationService)host.GetService(typeof(IWebAdministrationService));
                if (service != null)
                {
                    service.Start(null);
                }
            }
        }
 private void LaunchWebAdmin()
 {
     if (base.Component.Site != null)
     {
         IDesignerHost host = (IDesignerHost)base.Component.Site.GetService(typeof(IDesignerHost));
         if (host != null)
         {
             IWebAdministrationService service = (IWebAdministrationService)host.GetService(typeof(IWebAdministrationService));
             if (service != null)
             {
                 service.Start(null);
             }
         }
     }
 }