public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
// Create an ImagXpress object for licensing and pass in the IContainer of the form
Accusoft.ImagXpressSdk.ImagXpress imagXpress1 = new Accusoft.ImagXpressSdk.ImagXpress(this.components);
//***The SetSolutionName, SetSolutionKey and possibly the SetOEMLicenseKey methods must be called to distribute the runtime***
imagXpress1.Licensing.SetSolutionName(“YourSolutionName”);
imagXpress1.Licensing.SetSolutionKey(12345,12345,12345,12345);
imagXpress1.Licensing.SetOEMLicenseKey(“1.0.AStringForOEMLicensingContactAccusoftSalesForMoreInformation…”);
// Create an ImageXView object and pass in the ImagXpress workspace component.
Accusoft.ImagXpressSdk.ImageXView imageXView1 = new Accusoft.ImagXpressSdk.ImageXView(imagXpress1);
this.Controls.Add(imageXView1);
}
}