示例#1
0
        private void HabilitarCampos()
        {
            ObservacionesTextBox.ReadOnly = false;

            GrabarOrdenButton.Enabled = true;
            CancelarButton.Enabled    = true;

            ObservacionesTextBox.Focus();

            dgvBancosProveedor.Enabled = true;
        }
示例#2
0
        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;
        }