News Category

How to add Controls to Toolbox in C#

There are three ways to add Spire.PDFViewer controls to Toolbox for Windows Forms application.

In this document, these ways are introduced.

The First Solution

Set the CheckBox below to the CheckState "Checked" during installing Spire.PDFViewer.

How to add Controls to Toolbox

After installment is completed, controls will be added to the Toolbox.

The Second Solution

If you have already installed Spire.PDFViewer, you can also add controls this way:

"Start" -"Programs" -"e-iceblue" -"Spire.PDFViewer" : Click "Add Controls into VS Toolbox".

How to add Controls to Toolbox

Click "Add" to add controls.

How to add Controls to Toolbox

The Third Solution

Right-click on the blank part of the Toolbox - "Add Tab" - name the new Tab "Spire Controls" :

How to add Controls to Toolbox

Right-click on the blank part below "Spire Controls" - "Choose Items" - ".NET Framework Components" - "Browse" to the "Bin" folder – find the file "Spire.PdfViewer.Forms.dll"- "Open".

How to add Controls to Toolbox

Click “OK”. Then you have added controls to Toolbox successfully.

How to add Controls to Toolbox

Additional Info

  • tutorial_title: Add Controls to Toolbox in C#
Last modified on Wednesday, 20 November 2019 08:44