if nothing selected, clear out values
This commit is contained in:
parent
ce6e40e099
commit
1a83ff7ce1
@ -83,6 +83,18 @@ namespace EduNetworkBuilder
|
|||||||
cbLineColor.Text = ShapeForEditing.LineColor.Name;
|
cbLineColor.Text = ShapeForEditing.LineColor.Name;
|
||||||
cbShape.Text = ShapeForEditing.MyShape.ToString();
|
cbShape.Text = ShapeForEditing.MyShape.ToString();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
{
|
||||||
|
tbX.Text = "0";
|
||||||
|
tbY.Text = "0";
|
||||||
|
tbHeight.Text = "0";
|
||||||
|
tbWidth.Text = "0";
|
||||||
|
cbFillColor.Text = "Empty";
|
||||||
|
cbLineColor.Text = "Empty";
|
||||||
|
cbShape.Text = "None";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnDone_Click(object sender, EventArgs e)
|
private void btnDone_Click(object sender, EventArgs e)
|
||||||
|
Loading…
Reference in New Issue
Block a user