コード例 #1
0
        public ApplicationForm(ConnectApp app)
        {
            this.App = app;

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

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

            // Release resources
            App.Dispose();
        }