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();
        }
示例#2
0
 public LocationGPS(LocationConfig location_config)
 {
     locationConfig = location_config;
     InitializeComponent();
 }