private void projectItemGenerator_ProjectItemGenerationError(object sender, ProjectItemGeneratedErrorEventArgs e)
 {
     if (e.ShowError)
     {
         MessageBox.Show(e.Text, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
 protected virtual void OnProjectItemGeneratedError(object sender, ProjectItemGeneratedErrorEventArgs args)
 {
     if (this.ProjectItemGenerationError != null)
     {
         this.ProjectItemGenerationError(sender, args);
     }
 }