public ApplicationForm(HostApp app) { this.App = app; // // Required for Windows Form Designer support // InitializeComponent(); }
/// <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(); }