Beispiel #1
0
        public IPScannerView(int tabId, string ipRange = null)
        {
            InitializeComponent();

            viewModel = new IPScannerViewModel(tabId, ipRange);

            DataContext = viewModel;

            Dispatcher.ShutdownStarted += Dispatcher_ShutdownStarted;
        }
Beispiel #2
0
        public IPScannerView(int tabId, string hostOrIPRange = null)
        {
            InitializeComponent();

            _viewModel = new IPScannerViewModel(DialogCoordinator.Instance, tabId, hostOrIPRange);

            DataContext = _viewModel;

            Dispatcher.ShutdownStarted += Dispatcher_ShutdownStarted;
        }