コード例 #1
0
        private void ModifyMinorRadiusWithMouse(IPropertyEntry sender, bool StartModifying)
        {
            GeneralLengthAction gla = new GeneralLengthAction(minorRadiusProperty, ellipse.Center, ellipse);

            Frame.SetAction(gla);
        }
コード例 #2
0
        private void ModifyHeightWithMouse(IPropertyEntry sender, bool StartModifying)
        {
            GeneralLengthAction gpa = new GeneralLengthAction(sender as LengthProperty, polyline.RectangleLocation, polyline.ParallelogramMainDirection, polyline);

            Frame.SetAction(gpa);
        }
コード例 #3
0
ファイル: ShowPropertyLine.cs プロジェクト: SOFAgh/CADability
        private void ModifyLengthWithMouse(IPropertyEntry sender, bool StartModifying)
        {
            GeneralLengthAction gla = new GeneralLengthAction(lengthProperty, line.StartPoint, line);

            Frame.SetAction(gla);
        }
コード例 #4
0
        private void ModifyRadiusWithMouse(IPropertyEntry sender, bool StartModifying)
        {
            GeneralLengthAction gla = new GeneralLengthAction(radiusProperty, circle.Center, circle);

            Frame.SetAction(gla);
        }