예제 #1
0
        public ServersFound()
        {
            InitializeComponent();
            WindowStartupLocation = WindowStartupLocation.CenterOwner;

            ViewModel   = new ServersFoundViewModel();
            DataContext = ViewModel;
            Closing    += (o, e) => ViewModel.StopLooking();
        }
예제 #2
0
        public ServersFound()
        {
            InitializeComponent();
            WindowStartupLocation = WindowStartupLocation.CenterOwner;

            ViewModel = new ServersFoundViewModel();
            DataContext = ViewModel;
            Closing += (o, e) => ViewModel.StopLooking();
        }