private void Nuevobutton_Click(object sender, EventArgs e) { PrestamoIdtextBox.Clear(); MontotextBox.Clear(); SemanaNotextBox.Clear(); ValorCuotatextBox.Clear(); PrestamodataGridView.Rows.Clear(); }
private void Limpiar() { IdTextBox.Clear(); ClientecomboBox.SelectedIndex = 0; MontotextBox.Clear(); CuotaPtextBox.Clear(); FechaIdateTimePicker.Text = string.Empty; FechaFdateTimePicker.Text = string.Empty; SemanaNotextBox.Clear(); PagoTotaltextBox.Clear(); IdTextBox.Enabled = false; BuscarButton.Enabled = false; GuardarButton.Enabled = true; EliminarButton.Enabled = false; }