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(); }
public FormConfigureDrawing2(DrawingStyle _style, Action _invalidate) { m_Style = _style; m_Style.ReadValue(); m_Style.Memorize(); m_Invalidate = _invalidate; InitializeComponent(); LocalizeForm(); SetupForm(); }