Ejemplo n.º 1
0
        public MAN009DViewCtasBancarias(TRegistro Opcion)
        {
            InitializeComponent();
            try
            {
                TOpcion            = Opcion;
                this.StartPosition = FormStartPosition.CenterScreen;

                cmbTIPE_CodPadre.DropDownStyle = ComboBoxStyle.DropDownList;
                cmbTIPE_CodPadre.Enabled       = false;
                lblTIPE_CodPadre.Enabled       = false;
                txaENTC_CodPadre.Enabled       = false;
                lblENTC_CodPadre.Enabled       = false;

                txtENCB_NroCuentaSol.MaxLength = 50;
                txtENCB_NroCuentaDol.MaxLength = 50;

                btnGuardar.Click += btnGuardar_Click;
                btnSalir.Click   += btnSalir_Click;
            }
            catch (Exception ex)
            { Infrastructure.WinForms.Controls.Dialogos.MostrarMensajeError(Presenter.Title, "Ha ocurrido un error al iniciar", ex); }
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Construtor padrão.
 /// </summary>
 /// <param name="situacao"></param>
 /// <param name="registro"></param>
 public Item(CalculoRentabilidadeSituacaoItem situacao, TRegistro registro)
 {
     _situacao = situacao;
     Registro  = registro;
 }