public ServerMainWindow() { InitializeComponent(); statusLabel.Content = "Not running"; statusLabel.Foreground = Brushes.Red; chatService = new ServerImplementation(this); host = new ServiceHost(chatService); }