private void button6_Click(object sender, EventArgs e) { if (selectButton) { selectButtonObject.DelSize(); } }