public Dialog(ConnectionModel model)
 {
     DataContext = model;
     InitializeComponent();
     worker = new DiscoveryWorker();
     logger = new ConnectionLogger(LogBox);
 }
 public Dialog(ConnectionModel model)
 {
     DataContext = model;
     InitializeComponent();
     _worker = new DiscoveryWorker();
     _logger = new ConnectionLogger(LogBox);
 }