Exemple #1
0
		public ProjectWizardPage(ProjectWizard wizard)
		{
			this.Wizard = wizard;
			var source = new ParameterSource(wizard);
			source.ParameterChanged += (name, value) =>
			{
				if (name == "AppName")
				{
					source.SetParameter("ProjectName", value);
					Validate();
				}
			};
			this.model = new ProjectWizardPageModel(source, null);
			Validate();
		}
Exemple #2
0
        public ProjectWizardPage(ProjectWizard wizard)
        {
            this.Wizard = wizard;
            var source = new ParameterSource(wizard);

            source.ParameterChanged += (name, value) =>
            {
                if (name == "AppName")
                {
                    source.SetParameter("ProjectName", value);
                    Validate();
                }
            };
            this.model = new ProjectWizardPageModel(source, null);
            Validate();
        }