private void btnOK_Click(object sender, System.EventArgs e) { table.table_name = txtName.Text; table.table_description = txtDescription.Text; parent.setTable(table, index); this.Close(); }