Example #1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DataConnectorUI2;component/Views/Hybrid.xaml", System.UriKind.Relative));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MainMap              = ((Microsoft.Maps.MapControl.Map)(this.FindName("MainMap")));
     this.tileCountries        = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("tileCountries")));
     this.tileStatesProvinces  = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("tileStatesProvinces")));
     this.tileUSCounties       = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("tileUSCounties")));
     this.tileFaults           = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("tileFaults")));
     this.tileEarthquakes      = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("tileEarthquakes")));
     this.layerCountries       = ((Microsoft.Maps.MapControl.MapLayer)(this.FindName("layerCountries")));
     this.layerStatesProvinces = ((Microsoft.Maps.MapControl.MapLayer)(this.FindName("layerStatesProvinces")));
     this.layerUSCounties      = ((Microsoft.Maps.MapControl.MapLayer)(this.FindName("layerUSCounties")));
     this.layerFaults          = ((Microsoft.Maps.MapControl.MapLayer)(this.FindName("layerFaults")));
     this.layerEarthquakes     = ((Microsoft.Maps.MapControl.MapLayer)(this.FindName("layerEarthquakes")));
     this.Loading              = ((System.Windows.Controls.Grid)(this.FindName("Loading")));
     this.LoadSpinner          = ((DataConnectorUI2.controls.Spinner)(this.FindName("LoadSpinner")));
     this.SidePanelCanvas      = ((System.Windows.Controls.Canvas)(this.FindName("SidePanelCanvas")));
     this.SidePanelBorder      = ((System.Windows.Controls.Border)(this.FindName("SidePanelBorder")));
     this.ScrollSidebar        = ((System.Windows.Controls.ScrollViewer)(this.FindName("ScrollSidebar")));
     this.LayerTables          = ((DataConnectorUI2.controls.Layers)(this.FindName("LayerTables")));
     this.SwitchLevel          = ((System.Windows.Controls.ComboBox)(this.FindName("SwitchLevel")));
     this.metrics              = ((DataConnectorUI2.controls.Metrics)(this.FindName("metrics")));
     this.ZLText = ((System.Windows.Controls.TextBlock)(this.FindName("ZLText")));
     this.LLText = ((System.Windows.Controls.TextBlock)(this.FindName("LLText")));
 }
Example #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DataConnectorUI2;component/Views/Tile.xaml", System.UriKind.Relative));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MainMap              = ((Microsoft.Maps.MapControl.Map)(this.FindName("MainMap")));
     this.layerDraw            = ((Microsoft.Maps.MapControl.MapLayer)(this.FindName("layerDraw")));
     this.layerCountries       = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("layerCountries")));
     this.layerStatesProvinces = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("layerStatesProvinces")));
     this.layerUSCounties      = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("layerUSCounties")));
     this.layerFaults          = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("layerFaults")));
     this.layerEarthquakes     = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("layerEarthquakes")));
     this.Loading              = ((System.Windows.Controls.Grid)(this.FindName("Loading")));
     this.LoadSpinner          = ((DataConnectorUI2.controls.Spinner)(this.FindName("LoadSpinner")));
     this.SidePanelCanvas      = ((System.Windows.Controls.Canvas)(this.FindName("SidePanelCanvas")));
     this.SidePanelBorder      = ((System.Windows.Controls.Border)(this.FindName("SidePanelBorder")));
     this.ScrollSidebar        = ((System.Windows.Controls.ScrollViewer)(this.FindName("ScrollSidebar")));
     this.LayerTables          = ((DataConnectorUI2.controls.Layers)(this.FindName("LayerTables")));
     this.colorChart           = ((System.Windows.Controls.StackPanel)(this.FindName("colorChart")));
     this.headRange            = ((System.Windows.Controls.TextBlock)(this.FindName("headRange")));
     this.colorRange           = ((System.Windows.Controls.TextBlock)(this.FindName("colorRange")));
     this.colorLayers          = ((System.Windows.Controls.StackPanel)(this.FindName("colorLayers")));
     this.ZLText = ((System.Windows.Controls.TextBlock)(this.FindName("ZLText")));
     this.LLText = ((System.Windows.Controls.TextBlock)(this.FindName("LLText")));
 }
Example #3
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DataConnectorUI2;component/Views/Tile.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MainMap = ((Microsoft.Maps.MapControl.Map)(this.FindName("MainMap")));
     this.layerDraw = ((Microsoft.Maps.MapControl.MapLayer)(this.FindName("layerDraw")));
     this.layerCountries = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("layerCountries")));
     this.layerStatesProvinces = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("layerStatesProvinces")));
     this.layerUSCounties = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("layerUSCounties")));
     this.layerFaults = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("layerFaults")));
     this.layerEarthquakes = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("layerEarthquakes")));
     this.Loading = ((System.Windows.Controls.Grid)(this.FindName("Loading")));
     this.LoadSpinner = ((DataConnectorUI2.controls.Spinner)(this.FindName("LoadSpinner")));
     this.SidePanelCanvas = ((System.Windows.Controls.Canvas)(this.FindName("SidePanelCanvas")));
     this.SidePanelBorder = ((System.Windows.Controls.Border)(this.FindName("SidePanelBorder")));
     this.ScrollSidebar = ((System.Windows.Controls.ScrollViewer)(this.FindName("ScrollSidebar")));
     this.LayerTables = ((DataConnectorUI2.controls.Layers)(this.FindName("LayerTables")));
     this.colorChart = ((System.Windows.Controls.StackPanel)(this.FindName("colorChart")));
     this.headRange = ((System.Windows.Controls.TextBlock)(this.FindName("headRange")));
     this.colorRange = ((System.Windows.Controls.TextBlock)(this.FindName("colorRange")));
     this.colorLayers = ((System.Windows.Controls.StackPanel)(this.FindName("colorLayers")));
     this.ZLText = ((System.Windows.Controls.TextBlock)(this.FindName("ZLText")));
     this.LLText = ((System.Windows.Controls.TextBlock)(this.FindName("LLText")));
 }
Example #4
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DataConnectorUI2;component/Views/Hybrid.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MainMap = ((Microsoft.Maps.MapControl.Map)(this.FindName("MainMap")));
     this.tileCountries = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("tileCountries")));
     this.tileStatesProvinces = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("tileStatesProvinces")));
     this.tileUSCounties = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("tileUSCounties")));
     this.tileFaults = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("tileFaults")));
     this.tileEarthquakes = ((Microsoft.Maps.MapControl.MapTileLayer)(this.FindName("tileEarthquakes")));
     this.layerCountries = ((Microsoft.Maps.MapControl.MapLayer)(this.FindName("layerCountries")));
     this.layerStatesProvinces = ((Microsoft.Maps.MapControl.MapLayer)(this.FindName("layerStatesProvinces")));
     this.layerUSCounties = ((Microsoft.Maps.MapControl.MapLayer)(this.FindName("layerUSCounties")));
     this.layerFaults = ((Microsoft.Maps.MapControl.MapLayer)(this.FindName("layerFaults")));
     this.layerEarthquakes = ((Microsoft.Maps.MapControl.MapLayer)(this.FindName("layerEarthquakes")));
     this.Loading = ((System.Windows.Controls.Grid)(this.FindName("Loading")));
     this.LoadSpinner = ((DataConnectorUI2.controls.Spinner)(this.FindName("LoadSpinner")));
     this.SidePanelCanvas = ((System.Windows.Controls.Canvas)(this.FindName("SidePanelCanvas")));
     this.SidePanelBorder = ((System.Windows.Controls.Border)(this.FindName("SidePanelBorder")));
     this.ScrollSidebar = ((System.Windows.Controls.ScrollViewer)(this.FindName("ScrollSidebar")));
     this.LayerTables = ((DataConnectorUI2.controls.Layers)(this.FindName("LayerTables")));
     this.SwitchLevel = ((System.Windows.Controls.ComboBox)(this.FindName("SwitchLevel")));
     this.metrics = ((DataConnectorUI2.controls.Metrics)(this.FindName("metrics")));
     this.ZLText = ((System.Windows.Controls.TextBlock)(this.FindName("ZLText")));
     this.LLText = ((System.Windows.Controls.TextBlock)(this.FindName("LLText")));
 }