private void BusAnalyse_Click(object sender, RoutedEventArgs e)
 {
     if (busAnalyseCtrl == null)
     {
         busAnalyseCtrl = new BusAnalyse(MarkLayer, m_graphicsLayer);
     }
     if (m_catalog != null)
     {
         busAnalyseCtrl.Show();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// 公交换乘
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void BusAnalyse_Click(object sender, RoutedEventArgs e)
 {
     graphicsLayer.DrawingType = DrawingType.None;
     if (busAnalyseCtrl == null)
     {
         busAnalyseCtrl = new BusAnalyse(MarkLayer, graphicsLayer);
     }
     if (catalog != null)
     {
         busAnalyseCtrl.Show();
     }
 }
Exemplo n.º 3
0
 void iMSMap1_MapReady(ZDIMS.Event.IMSMapEvent e)
 {
     if (!DesignerProperties.IsInDesignTool)
     {
         if (this.busCtl == null)
         {
             //初始化公交换乘控件,传入相关参数
             busCtl               = new BusAnalyse(this.markLayer, this.graphicsLayer);
             this.busCtl.IsDrag   = true; //允许拖拽自定义控件
             setTrack             = new buscomponets.BusControl.setPlay();
             this.setTrack.IsDrag = true; //允许拖拽自定义控件
         }
     }
 }