Exemple #1
0
        public ApplicationForm(SendApp app)
        {
            this.App = app;

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

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

            // Release resources
            App.Dispose();
        }
Exemple #3
0
        public ConnectDialog(SendApp 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.");
        }