Ejemplo n.º 1
0
        public ApplicationForm(FindHostsApp app)
        {
            this.App = app;

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

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

            // Release resources
            App.Dispose();
        }