Try this in C #, but I'm sure it can be easily translated
.
.
,
"<" 20.
button1_Click
private void button1_Click(object sender, EventArgs e)
{
if (button1.Text == ">")
{
panel1.Width = 200;
button1.Text = "<";
}
else
{
panel1.Width = button1.Width;
button1.Text = ">";
}
}
, , , . , .