Getting Started with Windows Forms Office2010 Form
18 Nov 20181 minute to read
This section describes how to configure the Office2010Form control in a Windows Forms application.
Assembly deployment
Refer control dependencies section to get the list of assemblies or NuGet package needs to be added as reference to use the control in any application.
Please find more details regarding how to install the nuget packages in windows form application in the below link:
Creating a simple application with Office2010Form
You can create a Windows Forms application with the Office2010Form control as follows:
Create the project
Create a new Windows Forms project in Visual Studio to host the Office2010Form.
Configure Office2010Form
Office2010Form is an advanced standard Form. You can configure it by following the steps below.
Step 1: Add the following required assembly references to the project:
- Syncfusion.Shared.Base.dll
Step 2: Include the namespaces Syncfusion.Windows.Forms.
using Syncfusion.Windows.Forms;Imports Syncfusion.Windows.FormsStep 3: Change the class to inherit Office2010Form instead of the standard form.
public partial class Form1 : Office2010Form
{
public Form1()
{
this.Text = "Office2010Form";
}
}Partial Public Class Form1 Inherits Office2010Form
Public Sub New()
Me.Text = "Office2010Form"
End Sub
End Class