示例#1
0
        protected override WizardPage[] GetWizardPages()
        {
            var solutionType = new SolutionTypePage();
            var server       = new ServerPage();
            var credentials  = new CredentialsPage();
            var finish       = new FinishPage();
            var browse       = new BrowsePage(solutionType, finish);
            var type         = new TypePage(server, browse);

            type.SetWizard(this);
            solutionType.SetWizard(this);
            solutionType.SetPreviousPage(browse);
            solutionType.SetNextPage(finish);
            browse.SetPreviousPage(type);
            browse.SetWizard(this);
            server.SetPreviousPage(type);
            server.SetNextPage(credentials);
            server.SetWizard(this);
            credentials.SetPreviousPage(server);
            credentials.SetNextPage(finish);
            credentials.SetWizard(this);
            finish.SetPreviousPage(credentials);
            finish.SetWizard(this);
            return(new WizardPage[] { type, browse, solutionType, server, credentials, finish });
        }
示例#2
0
        public TypePage(ServerPage jexusPage, BrowsePage iisExpressPage)
        {
            _jexusPage      = jexusPage;
            _iisExpressPage = iisExpressPage;
            InitializeComponent();
            Caption = "Choose Server Type";
            if (Helper.IsRunningOnMono())
            {
                rbIisExpress.Enabled   = false;
                rbVisualStudio.Enabled = false;
                toolTip1.SetToolTip(rbIisExpress, "IIS Express is not supported when running on Mono.");
                toolTip1.SetToolTip(rbVisualStudio, "IIS Express is not supported when running on Mono.");
            }

            if (!IisExpressServerManager.ServerInstalled)
            {
                rbIisExpress.Enabled   = false;
                rbVisualStudio.Enabled = false;
                toolTip1.SetToolTip(rbIisExpress, "IIS Express is not installed to the default location.");
                toolTip1.SetToolTip(rbVisualStudio, "IIS Express is not installed to the default location.");
            }

            if (!JexusServerManager.Enabled)
            {
                rbJexus.Enabled = false;
                toolTip1.SetToolTip(rbJexus, "Jexus web server support must be enabled by --jexus switch.");
            }
        }
 public TypePage(ServerPage jexusPage, BrowsePage iisExpressPage)
 {
     _jexusPage      = jexusPage;
     _iisExpressPage = iisExpressPage;
     InitializeComponent();
     Caption = "Choose Server Type";
     if (Helper.IsRunningOnMono())
     {
         rbIisExpress.Enabled = false;
     }
 }
示例#4
0
        public TypePage(ServerPage jexusPage, BrowsePage iisExpressPage)
        {
            _jexusPage      = jexusPage;
            _iisExpressPage = iisExpressPage;
            InitializeComponent();
            Caption = "Choose Server Type";
            if (Helper.IsRunningOnMono())
            {
                rbIisExpress.Enabled = false;
                toolTip1.SetToolTip(rbIisExpress, "IIS Express is not supported when running on Mono.");
            }

            if (Helper.GetIisExpressVersion() == Version.Parse("0.0.0.0"))
            {
                rbIisExpress.Enabled = false;
                toolTip1.SetToolTip(rbIisExpress, "IIS Express is not installed to the default location.");
            }
        }