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