Beispiel #1
0
 private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (axMapControl1.LayerCount > 0)
     {
         exportmap = new ExportMap(axMapControl1, axMapControl1.get_Layer(0));
         exportmap.Show();
     }
     else
     {
         MessageBox.Show("请添加数据");
         return;
     }
 }
Beispiel #2
0
 private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (axMapControl1.LayerCount > 0)
     {
         exportmap = new ExportMap(axMapControl1,axMapControl1.get_Layer(0));
         exportmap.Show();
     }
     else
     {
         MessageBox.Show("请添加数据");
         return;
     }
 }