public MainWindow() { Server = new Server.MessageServer(DBManager); DataContext = this; InitializeComponent(); Utility.ConsoleLog.SetTextBox(LogText); Startup(); }
public MessageReciever(MessageServer server) { Server = server; DBManager = server.DBManager; }