using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.IO;

namespace XFViewerCtrlSample
{
    /// <summary>
    /// This sample demonstrates how to embed the XF Viewer control in your .NET application.
    /// You can use the control to benefit form out-of-the-box functionality like previwing the document,
    /// or to print, export to PDF, export to Word an more.
    /// </summary>
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            // Upon aquiring a license, this is where the license key should be supplied to the engine.
            // Don't forget to add a reference to Ecrion.Ultrascale.dll
            //Ecrion.Ultrascale.Settings.LicenseKey = "...";
            
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }
    }
}