Microsoft Office Tutorials and References
In Depth Information
Creating an InfoPath add-in project using Visual Studio 2008
AddInConverterButton.Style = Office.MsoButtonStyle.
msoButtonCaption;
AddInConverterButton.Click += new
Office._CommandBarButtonEvents_ClickEventHandler(
openAddIn_Click);
}
}
}
// Click event for the button in tool bar
private void openAddIn_Click(Office._CommandBarButton src,
ref bool Cancel)
{
InfoPathAddIn NumberConverter = new InfoPathAddIn();
// This will call the NumberConverter Add-In and it will be
shown to the User
NumberConverter.Show();
}
The number-to-word converter add-in will be visible in the Microsoft Office InfoPath
2007, and will appear as shown in the following screenshot.
The number-to-word converter user interface appears as shown in the
following screenshot.
 
Search JabSto ::




Custom Search