public MainWindow() { this.DataContext = this; log = AppLogs.getLog("HostInfo"); InitializeComponent(); initNotifyIcon(); initServer(); this.Visibility = Visibility.Hidden; Messenger.Default.Register <string>(this, "MinSizeWindow", MinSizeWindow); Messenger.Default.Register <string>(this, "ExitWindow", QuitWindow); Messenger.Default.Register <string>(this, "ReturnMessageBox", ShowReturnMessageBox); }
private Server() { log = AppLogs.getLog("HostInfo"); }