コード例 #1
0
        private void axMapControl1_OnMouseUp(object sender, ESRI.ArcGIS.Controls.IMapControlEvents2_OnMouseUpEvent e)
        {
            double dRotationAngle = axMapControl1.ActiveView.ScreenDisplay.RotateStop();
            //Rotate the MapControl's display
            axMapControl1.Rotation = dRotationAngle;
            //Refresh the display
            axMapControl1.ActiveView.PartialRefresh(ESRI.ArcGIS.Carto.esriViewDrawPhase.esriViewGeography, null, null);

        }
コード例 #2
0
 private void axMapControl1_OnMouseUp(object sender, ESRI.ArcGIS.Controls.IMapControlEvents2_OnMouseUpEvent e)
 {
     this.Cursor = System.Windows.Forms.Cursors.Arrow;
 }
コード例 #3
0
 private void axMapControl2_OnMouseUp(object sender, ESRI.ArcGIS.Controls.IMapControlEvents2_OnMouseUpEvent e)
 {
     this.axMapControl2.ActiveView.PartialRefresh(esriViewDrawPhase.esriViewGeography, null, null);
 }