protected override void Load(MSBuildBasedProject project, string configuration, string platform)
 {
     base.Load(project, configuration, platform);
     // Ensure that the template is applied before we assign ComboBox.Text, this ensures
     // the TextBoxBase.TextChanged event fires immediately and doesn't cause us to
     // set the IsDirty flag later.
     applicationManifestComboBox.ApplyTemplate();
     if (string.IsNullOrEmpty(this.ApplicationManifest.Value))
     {
         if (this.NoWin32Manifest.Value)
         {
             applicationManifestComboBox.SelectedIndex = 1;
         }
         else
         {
             applicationManifestComboBox.SelectedIndex = 0;
         }
     }
     else
     {
         applicationManifestComboBox.Text = this.ApplicationManifest.Value;
     }
     this.projectInformation.OutputTypeName = AssemblyName.Value + CompilableProject.GetExtension(OutputType.Value);
     IsDirty = false;
 }
        string GetOutputTypeFileExtension()
        {
            string     outputTypeProperty = GetMSBuildProjectProperty("OutputType");
            OutputType outputType         = GetOutputType(outputTypeProperty);

            return(CompilableProject.GetExtension(outputType));
        }
        /// <summary>
        /// Updates the output name text box based on the assembly name and
        /// output type.
        /// </summary>
        void RefreshOutputNameTextBox()
        {
            string assemblyName = AssemblyNameTextBox.Text;
            string extension    = CompilableProject.GetExtension((OutputType)OutputTypeComboBox.SelectedIndex);

            Get <TextBox>("outputName").Text = String.Concat(assemblyName, extension);
        }
 void RefreshOutputNameTextBox(object sender, TextChangedEventArgs e)
 {
     if (this.outputTypeComboBox.SelectedValue != null)
     {
         var enmType = (OutputType)Enum.Parse(typeof(OutputType), this.outputTypeComboBox.SelectedValue.ToString());
         this.projectInformation.OutputTypeName = this.assemblyNameTextBox.Text + CompilableProject.GetExtension(enmType);
     }
 }
 void RefreshOutputNameTextBox(object sender, EventArgs e)
 {
     Get <TextBox>("outputName").Text = Get <TextBox>("assemblyName").Text + CompilableProject.GetExtension((OutputType)Get <ComboBox>("outputType").SelectedIndex);
 }
 void RefreshOutputNameTextBox(object sender, EventArgs e)
 {
     if (this.outputTypeComboBox.SelectedValue != null)
     {
         var outputType = (OutputType)this.outputTypeComboBox.SelectedValue;
         this.projectInformation.OutputTypeName = this.assemblyNameTextBox.Text + CompilableProject.GetExtension(outputType);
     }
 }