public ApplicationForm(VoiceApp 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 VoiceApp App = new VoiceApp(); // Start the form's message loop if (!App.m_Form.IsDisposed) { Application.Run(App.m_Form); } // Release resources App.Dispose(); // Release resources App.Dispose(); }
public ConnectDialog(VoiceApp 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."); }