public void MouseMove(object sender, GeoOperatorMouseMoveEventArgs e) { e.Cursor = this.m_Cursor; e.Handled = true; if ((e.Button == MouseButtons.Left) && this.m_IsMouseDown) { this.m_Helper.MoveBy(e.X - this.m_LastMovingPoint.X, e.Y - this.m_LastMovingPoint.Y); this.m_TileMgr.AddOffset(e.X - this.m_LastMovingPoint.X, e.Y - this.m_LastMovingPoint.Y); this.m_LastMovingPoint = e.Location; this.m_GlassPanel.RaiseDataChangedEvent(sender, e); } }
public void MouseMove(object sender, GeoOperatorMouseMoveEventArgs e) { e.Cursor = this.m_Cursor; e.Handled = true; if (e.Button == MouseButtons.Left) { double x = this.m_Helper.ScreenToPlanetOfX(e.Location.X); double y = this.m_Helper.ScreenToPlanetOfY(e.Location.Y); this.m_SelectionPolygon.Points.Clear(); this.m_SelectionPolygon.Points.Add(this.m_StartPlanePoint); this.m_SelectionPolygon.Points.Add(new GeoXYPoint(this.m_StartPlanePoint.X, y)); this.m_SelectionPolygon.Points.Add(new GeoXYPoint(x, y)); this.m_SelectionPolygon.Points.Add(new GeoXYPoint(x, this.m_StartPlanePoint.Y)); this.m_GlassPanel.RaiseDataChangedEvent(sender, e); } }
public void MouseMove(object sender, GeoOperatorMouseMoveEventArgs e) { }
public void MouseMove(object sender, GeoOperatorMouseMoveEventArgs e) { e.Cursor = this.m_Cursor; e.Handled = true; }
public void MouseMove(object sender, GeoOperatorMouseMoveEventArgs e) { e.Cursor = this.m_Cursor; e.Handled = true; if (this.m_ScreenLine.PointsCount != 0) { this.m_MovingLine.Points[0] = this.m_ScreenLine[this.m_ScreenLine.PointsCount - 1]; GeoXYPoint point = this.m_Helper.ScreenToPlanet(e.Location); this.m_MovingLine.Points[1] = point; this.m_GlassPanel.RaiseDataChangedEvent(sender, e); } }
public void MouseMove(object sender, GeoOperatorMouseMoveEventArgs e) { e.Cursor = this.m_Cursor; e.Handled = true; if (this.m_ScreenLine.PointsCount != 0) { this.m_MovingLine.Points[0] = this.m_ScreenLine[this.m_ScreenLine.PointsCount - 1]; GeoXYPoint endPoint = this.m_Helper.ScreenToPlanet(e.Location); this.m_MovingLine.Points[1] = endPoint; if (this.m_ScreenLine.PointsCount > 0) { GlobalSingleton.ShowGisDistance(this.GetDistanceStr(endPoint)); } this.m_GlassPanel.RaiseDataChangedEvent(sender, e); } }
public void MouseMove(object sender, GeoOperatorMouseMoveEventArgs e) { if ((e.Button == MouseButtons.Left) && (this.m_SelectedVector != null)) { e.Handled = true; } }