public override void MoveHandle(Point point, int handleNumber) { // Invisible handler to change font size. int wantedHeight = point.Y - m_MainBackground.Rectangle.Location.Y; m_StyleHelper.ForceFontSize(wantedHeight, m_Timecode); UpdateLabelRectangle(); }
public override void MoveHandle(PointF point, int handleNumber, Keys modifiers) { // Invisible handler to change font size. int wantedHeight = (int)(point.Y - mainBackground.Rectangle.Location.Y); styleHelper.ForceFontSize(wantedHeight, timecode); style.ReadValue(); UpdateLabelRectangle(); }