Beispiel #1
0
        public ApplicationForm(LobbyLaunchApp app)
        {
            this.App = app;

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

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

            // Release resources
            App.Dispose();
        }
Beispiel #3
0
        public ConnectDialog(LobbyLaunchApp app)
        {
            App = app;

            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            SearchAddressTextBox.Text       = "localhost";
            DetectedSessionsListBox.Enabled = false;
            ConnectButton.Enabled           = false;
            DetectedSessionsListBox.Items.Clear();
            DetectedSessionsListBox.Items.Add("Click \"Search\" to find hosts.");
        }