private void limpar() { txtdescricao.Clear(); txtprecouni.Clear(); txtquant.Clear(); txttotal.Clear(); buscprods.Clear(); comboBox2.SelectedIndex = -1; txtcli.Clear(); cbmfmpg.SelectedIndex = -1; textBox3.Clear(); TextBox6.Clear(); TextBox7.Clear(); txtvalortotal.Clear(); datalistado.Rows.Clear(); }
private void limpiar() { TextBox1.Clear(); TextBox4.Clear(); textBox5.Clear(); TextBox6.Clear(); TextBox7.Clear(); TextBox3.Clear(); }
public void ClearTextBoxes() { TextBox1.Clear(); TextBox2.Clear(); TextBox3.Clear(); TextBox4.Clear(); TextBox5.Clear(); TextBox6.Clear(); TextBox7.Clear(); TextBox8.Clear(); TextBoxID.Clear(); }
private void button2_Click(object sender, EventArgs e) { datalistado.Rows.Clear(); txtvalortotal.Clear(); txtdescricao.Clear(); txtprecouni.Clear(); txtquant.Clear(); txttotal.Clear(); txtvalortotal.Clear(); buscprods.Clear(); textBox3.Clear(); TextBox6.Clear(); TextBox7.Clear(); }
private void Button3_Click(object sender, EventArgs e) { TextBox1.Clear(); TextBox2.Clear(); TextBox3.Clear(); TextBox4.Clear(); TextBox5.Clear(); TextBox6.Clear(); TextBox7.Clear(); TextBox8.Clear(); TextBox9.Clear(); ComboBox1.Items.Clear(); RadioButton1.Checked = false; RadioButton2.Checked = false; }
private void Button2_Click(object sender, EventArgs e) { TextBox1.Clear(); TextBox2.Clear(); TextBox3.Clear(); TextBox4.Clear(); TextBox5.Clear(); TextBox6.Clear(); TextBox7.Clear(); TextBox8.Clear(); TextBox9.Clear(); TextBox10.Clear(); ComboBox1.Text = "Selecione..."; ComboBox2.Text = "Selecione..."; CheckBox1.Checked = false; CheckBox2.Checked = false; CheckBox3.Checked = false; RadioButton1.Checked = false; RadioButton2.Checked = false; TextBox1.Focus(); }