/// <summary> /// Initializes a new instance of the <see cref="Logo"/> class. /// </summary> public Logo() { this.InitializeComponent(); SettingsService settingsService = new SettingsService(); this.labelVersion.Text += " v" + settingsService.ApplicationVersion; this.labelMvvmCross.Text += " v" + settingsService.MvvmCrossVersion; }
/// <summary> /// Runs custom wizard logic at the beginning of a template wizard run. /// </summary> /// <param name="automationObject">The automation object being used by the template wizard.</param> /// <param name="replacementsDictionary">The list of standard parameters to be replaced.</param> /// <param name="runKind">A <see cref="T:Microsoft.VisualStudio.TemplateWizard.WizardRunKind" /> indicating the type of wizard run.</param> /// <param name="customParams">The custom parameters with which to perform parameter replacement in the project.</param> public void RunStarted( object automationObject, Dictionary<string, string> replacementsDictionary, WizardRunKind runKind, object[] customParams) { this.SettingsService = new SettingsService(); TraceService.Initialize( this.SettingsService.LogToTrace, false, this.SettingsService.LogToFile, this.SettingsService.LogFilePath, this.SettingsService.DisplayErrors); TraceService.WriteLine("BaseWizard::RunStarted"); this.Dte = automationObject as DTE; this.ReplacementsDictionary = replacementsDictionary; this.RunKind = runKind; this.CustomParams = customParams; this.OnRunStarted(); }