Prompts the user to insert worksheets within a workbook.
Namespace: MindFusion.Spreadsheet.WinForms
Assembly: MindFusion.Spreadsheet.WinForms.StandardForms
C#
![]() |
---|
public class InsertWorksheetForm : Form |
Visual Basic
![]() |
---|
Public Class InsertWorksheetForm |
This form can be used to prompt the user to insert new sheets in a workbook. To use the form, create an instance of the InsertWorksheetForm class by providing the related workbook and call the ShowDialog method. The user's choice can be obtained from the Position, Index, NumberOfSheets, and SheetName properties. The following image shows the form:
The code below demonstrates how to use the form to insert worksheets in an existing workbook. The activeSheet variable identifies the Worksheet that is currently active in the view.
C#
![]() |
---|
var form = new InsertWorksheetForm(workbook); |
Visual Basic
![]() |
---|
Dim form = New InsertWorksheetForm(workbook) |
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.Form
MindFusion.Spreadsheet.WinForms.InsertWorksheetForm