예제 #1
0
        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);
        }
예제 #2
0
 private Server()
 {
     log = AppLogs.getLog("HostInfo");
 }