Esempio n. 1
0
 //符号系统
 private void ctMenuSymSystem_Click(object sender, EventArgs e)
 {
     if (this.TOCRightLayer is IFeatureLayer)
     {
         frmFeatureSym Featuresym = new frmFeatureSym(this.TOCRightLayer as IFeatureLayer, axMapControl1, axTOCControl1);
         Featuresym.Show();
     }
     if (this.TOCRightLayer is IRasterLayer)
     {
         frmRasterSym rastersym = new frmRasterSym(this.TOCRightLayer as IRasterLayer, axMapControl1, axTOCControl1);
         rastersym.Show();
     }
 }
Esempio n. 2
0
 //符号系统
 private void ctMenuSymSystem_Click(object sender, EventArgs e)
 {
     if (this.TOCRightLayer is IFeatureLayer)
     {
         frmFeatureSym Featuresym = new frmFeatureSym(this.TOCRightLayer as IFeatureLayer, axMapControl1, axTOCControl1);
         Featuresym.Show();
     }
     if (this.TOCRightLayer is IRasterLayer)
     {
         frmRasterSym rastersym = new frmRasterSym(this.TOCRightLayer as IRasterLayer,axMapControl1,axTOCControl1);
         rastersym.Show();
     }
 }