Exemplo n.º 1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ZDIMSDemo;component/SearchDemo.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.toolbar1       = ((ZDIMSDemo.Controls.Toolbar)(this.FindName("toolbar1")));
     this.leftPanel      = ((System.Windows.Controls.Border)(this.FindName("leftPanel")));
     this.expand         = ((System.Windows.Controls.Image)(this.FindName("expand")));
     this.collapse       = ((System.Windows.Controls.Image)(this.FindName("collapse")));
     this.leftMenuPanel  = ((System.Windows.Controls.Grid)(this.FindName("leftMenuPanel")));
     this.iMSCatalog1    = ((ZDIMSDemo.Controls.IMSCatalog)(this.FindName("iMSCatalog1")));
     this.rightPanel     = ((System.Windows.Controls.Border)(this.FindName("rightPanel")));
     this.iMSMap1        = ((ZDIMS.Map.IMSMap)(this.FindName("iMSMap1")));
     this.tileLayer1     = ((ZDIMS.Map.TileLayer)(this.FindName("tileLayer1")));
     this.iMSEagleEye1   = ((ZDIMS.Map.IMSEagleEye)(this.FindName("iMSEagleEye1")));
     this.vectorMapDoc2  = ((ZDIMS.Map.VectorMapDoc)(this.FindName("vectorMapDoc2")));
     this.vectorLayer1   = ((ZDIMS.Map.VectorLayer)(this.FindName("vectorLayer1")));
     this.gDBItem1       = ((ZDIMS.Map.GDBItem)(this.FindName("gDBItem1")));
     this.layerItem1     = ((ZDIMS.Map.LayerItem)(this.FindName("layerItem1")));
     this.layerItem2     = ((ZDIMS.Map.LayerItem)(this.FindName("layerItem2")));
     this.layerItem3     = ((ZDIMS.Map.LayerItem)(this.FindName("layerItem3")));
     this.graphicsLayer1 = ((ZDIMS.Drawing.GraphicsLayer)(this.FindName("graphicsLayer1")));
     this.markLayer1     = ((ZDIMS.Drawing.MarkLayer)(this.FindName("markLayer1")));
     this.markLayer2     = ((ZDIMS.Drawing.MarkLayer)(this.FindName("markLayer2")));
     this.hideMenu       = ((System.Windows.Media.Animation.Storyboard)(this.FindName("hideMenu")));
     this.showMenu       = ((System.Windows.Media.Animation.Storyboard)(this.FindName("showMenu")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightDemo;component/Demo/MapCommonControls.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.iMSMap1      = ((ZDIMS.Map.IMSMap)(this.FindName("iMSMap1")));
     this.tileLayer1   = ((ZDIMS.Map.TileLayer)(this.FindName("tileLayer1")));
     this.iMSEagleEye1 = ((ZDIMS.Map.IMSEagleEye)(this.FindName("iMSEagleEye1")));
 }
Exemplo n.º 3
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ZDIMSDemo;component/Sample.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.toolbarByMapDoc1 = ((ZDIMSDemo.Controls.MapDoc.ToolbarByMapDoc)(this.FindName("toolbarByMapDoc1")));
     this.toolbarByLayer1  = ((ZDIMSDemo.Controls.Layer.ToolbarByLayer)(this.FindName("toolbarByLayer1")));
     this.iMSMap1          = ((ZDIMS.Map.IMSMap)(this.FindName("iMSMap1")));
     this.tileLayer1       = ((ZDIMS.Map.TileLayer)(this.FindName("tileLayer1")));
     this.iMSEagleEye1     = ((ZDIMS.Map.IMSEagleEye)(this.FindName("iMSEagleEye1")));
     this.vectorMapDoc1    = ((ZDIMS.Map.VectorMapDoc)(this.FindName("vectorMapDoc1")));
     this.vectorLayer1     = ((ZDIMS.Map.VectorLayer)(this.FindName("vectorLayer1")));
     this.gDBItem1         = ((ZDIMS.Map.GDBItem)(this.FindName("gDBItem1")));
     this.layerItem1       = ((ZDIMS.Map.LayerItem)(this.FindName("layerItem1")));
     this.layerItem2       = ((ZDIMS.Map.LayerItem)(this.FindName("layerItem2")));
     this.layerItem3       = ((ZDIMS.Map.LayerItem)(this.FindName("layerItem3")));
     this.graphicsLayer1   = ((ZDIMS.Drawing.GraphicsLayer)(this.FindName("graphicsLayer1")));
     this.iMSCatalog1      = ((ZDIMSDemo.Controls.IMSCatalog)(this.FindName("iMSCatalog1")));
 }
Exemplo n.º 4
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ZDIMSDemo;component/SearchDemo.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.rightPanel     = ((System.Windows.Controls.Border)(this.FindName("rightPanel")));
     this.iMSMap1        = ((ZDIMS.Map.IMSMap)(this.FindName("iMSMap1")));
     this.tileLayer1     = ((ZDIMS.Map.TileLayer)(this.FindName("tileLayer1")));
     this.iMSEagleEye1   = ((ZDIMS.Map.IMSEagleEye)(this.FindName("iMSEagleEye1")));
     this.vectorMapDoc2  = ((ZDIMS.Map.VectorMapDoc)(this.FindName("vectorMapDoc2")));
     this.vectorLayer1   = ((ZDIMS.Map.VectorLayer)(this.FindName("vectorLayer1")));
     this.gDBItem1       = ((ZDIMS.Map.GDBItem)(this.FindName("gDBItem1")));
     this.layerItem1     = ((ZDIMS.Map.LayerItem)(this.FindName("layerItem1")));
     this.layerItem2     = ((ZDIMS.Map.LayerItem)(this.FindName("layerItem2")));
     this.layerItem3     = ((ZDIMS.Map.LayerItem)(this.FindName("layerItem3")));
     this.graphicsLayer1 = ((ZDIMS.Drawing.GraphicsLayer)(this.FindName("graphicsLayer1")));
     this.markLayer1     = ((ZDIMS.Drawing.MarkLayer)(this.FindName("markLayer1")));
     this.markLayer2     = ((ZDIMS.Drawing.MarkLayer)(this.FindName("markLayer2")));
     this.toolMainMenu   = ((ZDIMSDemo.Controls.FishEyeMenu.MapgisMainMenu)(this.FindName("toolMainMenu")));
 }