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

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

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