private void ValueUnitControl_Enter(object sender, EventArgs e) { text_saved = TextValue.Text; item_saved = UnitValue.SelectedIndex; }