syncfusion-winforms-pdf-viewer

Installation
SKILL.md

Syncfusion WinForms PdfViewer - UI Sample generator

Generate C# Code for the User's Project (default)

Trigger keywords: "code", "snippet", "how to write", "Program.cs", "show me", "sample", "integrate", "example code", "generate code for", "create sample", "winforms pdfviewer".

Purpose: Generate clean, ready-to-use C# code snippets that directly insert into their WinForms application when working with Syncfusion WinForms PdfViewer control.

Workflow:

  1. Build the C# code using the snippets provided in the references/*.md files.
  2. Before generating the sample, ask the user whether the code should be:Integrated into an existing WinForms project, or Created as a new WinForms application.
  3. If the user chooses to create a new WinForms project, ask them which target framework they want to use: -.NET Framework (e.g., 4.6, 4.7, 4.8) — uses Syncfusion.PdfViewer.WinForms and targets the classic .NET Framework. -.NET / .NET Core (e.g., .NET 8, .NET 10) — uses Syncfusion.PdfViewer.WinForms with net8.0-windows (or the selected version).
  4. Based on the user's choice: Generate the .csproj file with the correct value. Add the required NuGet packages. Tailor any framework-specific code, such as namespace imports, form initialization, startup code (Program.cs), and PDF Viewer setup, accordingly.
Related skills

More from syncfusion/pdf-viewer-sdk-skills

Installs
18
GitHub Stars
1
First Seen
Mar 26, 2026