anastasia.filipova
Member
here is my form1 and you can see my options buttons:
this is for draw shapes:
and this is form2, where the user selects one of the forms and then enters its' sides:
when press enter - open form1 and where click with left button of the mouse, it's show the shape.
my question is: how change the color of drawn shape. i create "change color" button and i imagined it - by pressing the button to change the color and a shape like this will appear:
and choose one of these colors and change the color of that shape. is it possible what i want? Can someone help me, please?
this is for draw shapes:
C#:
private void drawBtn_Click(object sender, EventArgs e)
{
label1.Text = "Click somewhere to draw shape. The shape drawing when click with mouse.";
option2Moving = false;
option4ShowAreas = false;
Form2 drawoptions = new Form2();
drawoptions.ShowDialog();
}
and this is form2, where the user selects one of the forms and then enters its' sides:
when press enter - open form1 and where click with left button of the mouse, it's show the shape.
my question is: how change the color of drawn shape. i create "change color" button and i imagined it - by pressing the button to change the color and a shape like this will appear:
and choose one of these colors and change the color of that shape. is it possible what i want? Can someone help me, please?