public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Logistics_system;component/SilverlightControl3.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.iMSMap1 = ((ZDIMS.Map.IMSMap)(this.FindName("iMSMap1"))); this.googleTileLayer1 = ((ZDIMS.OtherMap.GoogleTileLayer)(this.FindName("googleTileLayer1"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightDemo;component/Demo/ShowOtherMap.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.iMSMap1 = ((ZDIMS.Map.IMSMap)(this.FindName("iMSMap1"))); this.yahooTile = ((ZDIMS.OtherMap.YahooTileLayer)(this.FindName("yahooTile"))); this.bingTile = ((ZDIMS.OtherMap.BingTileLayer)(this.FindName("bingTile"))); this.googleTile = ((ZDIMS.OtherMap.GoogleTileLayer)(this.FindName("googleTile"))); this.omap = ((System.Windows.Controls.Canvas)(this.FindName("omap"))); this.yahooBtn = ((System.Windows.Controls.Image)(this.FindName("yahooBtn"))); this.bingBtn = ((System.Windows.Controls.Image)(this.FindName("bingBtn"))); this.googleBtn = ((System.Windows.Controls.Image)(this.FindName("googleBtn"))); }