public ProviderLoginScreen(MainWindow theMain)
        {
            InitializeComponent();
            _mainWnd    = theMain;
            DataContext = this;

            _versionInfo = GetVersion();
            _pollTime    = 5000;

            ProviderList           = new ObservableCollection <VATRPServiceProvider>();
            HostnameBox.LostFocus += new RoutedEventHandler(ServerAddressEntered);
            HostnameBox.KeyDown   += new KeyEventHandler(handle_keydown);
            _locationConfigWindow  = new CustomControls.LocationConfig();

            Initialize();
        }
Exemplo n.º 2
0
 public LocationGPS(LocationConfig location_config)
 {
     locationConfig = location_config;
     InitializeComponent();
 }