public MainWindow() { InitializeComponent(); //Set the localName text to the hostname localName.Text = HostInfo.HostName; //Initialise the chat application chatApplication = new ChatAppWPF(chatBox, scroller, messagesFrom, messageText); //Print out some usage instructions chatApplication.PrintUsageInstructions(); //Initialise the NetworkComms.Net settings chatApplication.RefreshNetworkCommsConfiguration(); }
public MainWindow() { InitializeComponent(); //Set the localName text to the hostname localName.Text = HostInfo.HostName; //Initialise the chat application chatApplication = new ChatAppWPF(chatBox, scroller, messagesFrom, messageText); //Print out some usage instructions chatApplication.PrintUsageInstructions(); //Initialise the NetworkComms.Net settings chatApplication.RefreshNetworkCommsConfiguration(); }