Example #1
0
        public ApplicationForm(HostApp app)
        {
            this.App = app;

            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
        }
Example #2
0
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main()
        {
            // Create the main application object
            HostApp App = new HostApp();

            // Start the form's message loop
            if (!App.m_Form.IsDisposed)
            {
                Application.Run(App.m_Form);
            }

            // Release resources
            App.Dispose();
        }