if (!cboModel1.Text.Equals(string.Empty) || !cboVBrand1.Text.Equals(string.Empty) || !txtVType1.Text.Equals(string.Empty) || !cboChassis1.Text.Equals(string.Empty) || !lblPlate1.Text.Equals("### ###") || !txtVColor1.Text.Equals(string.Empty) || !cboSType1.Text.Equals(string.Empty) || !txtSPrice1.Text.Equals(string.Empty)) { DialogResult change = MessageBox.Show("Discard entries and select an old vehicle?", "PROCEED?", MessageBoxButtons.YesNo); if (change == DialogResult.Yes) { clearDisable_Old(); rdoOld.Checked = true; rdoNew.Checked = false; } else { rdoOld.Checked = false; rdoNew.Checked = true; } }
Old Vehicle
New Vehicle
Cancel
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)