示例#1
0
        //Confirm changes in the drawn shape object
        private void changeBtn_Click(object sender, EventArgs e)
        {
            Shape shapeToChange = DrawnShapesList.GetShape(ShapeListBox.SelectedIndex);

            shapeToChange.ChangePenProperties(BGColorPBox.BackColor, (int)LineThicknessUpDown.Value, penStyle);
            Invalidate();
        }