private void mobileResources_ResourceInstallComplete(object sender, MobileResourceInstallEventArgs e)
        {
            buttonCreateDevEnv.Enabled = true;
            progressBar1.Visible       = false;
            labelStatus.Visible        = false;

            if (checkLaunch.Checked)
            {
                var launcher = new LaunchManager();
                launcher.Launch(textProductPath.Text);
                this.FindForm().Close();
            }
            else
            {
                MessageBox.Show("The mobile development environment has been created. To start the website use the 'Start Mobile Website' shortcut located at the root of the website.", "Complete", MessageBoxButtons.OK, MessageBoxIcon.Information);
                this.Back();
            }
        }
示例#2
0
        private void buttonStart_Click(object sender, EventArgs e)
        {
            if (textProductPath.Text == string.Empty)
            {
                return;
            }

            if (panelWarning.Visible)
            {
                return;
            }

            var launcher = new LaunchManager();

            launcher.Launch(textProductPath.Text);

            FindForm().Close();
        }