All NetworkComms.Net implementation can be found here and in ChatAppBase
Inheritance: ChatAppBase
        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();
        }
Esempio n. 2
0
        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();
        }