private void HabilitarCampos() { ObservacionesTextBox.ReadOnly = false; GrabarOrdenButton.Enabled = true; CancelarButton.Enabled = true; ObservacionesTextBox.Focus(); dgvBancosProveedor.Enabled = true; }
private void LeerObservacionesButton_Click(object sender, EventArgs e) { if (IsGridEmpty("órdenes de pago", DgvListadoOrdenes)) { return; } ObservacionesTextBox.Text = DgvListadoOrdenes.SelectedRows[0].Cells[7].Value.ToString(); ObservacionesTextBox.Focus(); materialTabControl1.SelectedTab = TabNueva; CancelarButton.Enabled = true; }