Пример #1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DataConnectorUI2;component/Views/WKT.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.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.drawtools            = ((DataConnectorUI2.controls.DrawTools)(this.FindName("drawtools")));
     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")));
 }
Пример #2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DataConnectorUI2;component/Views/Copy%20of%20WKT.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.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.drawtools = ((DataConnectorUI2.controls.DrawTools)(this.FindName("drawtools")));
     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")));
 }