Exemple #1
0
        public SaqueForm()
        {
            InitializeComponent();

            ctlConta _ctlConta = new ctlConta();

            lblValor.Text = _ctlConta.ValorEmConta(Context.Usuario).ToString();
        }
Exemple #2
0
        public ExtratoForm()
        {
            InitializeComponent();

            ctlConta _ctlConta = new ctlConta();

            lblValor.Text = _ctlConta.ValorEmConta(Context.Usuario).ToString();
            ctlExtrato _ctlExtrato = new ctlExtrato();

            lblLog1.Text = _ctlExtrato.GetLogs()[4];
            lblLog2.Text = _ctlExtrato.GetLogs()[3];
            lblLog3.Text = _ctlExtrato.GetLogs()[2];
            lblLog4.Text = _ctlExtrato.GetLogs()[1];
            lblLog5.Text = _ctlExtrato.GetLogs()[0];
        }