VERSION 5.00 Begin VB.Form frmIntroducaoDados Caption = "Dados do novo empréstimo" ClientHeight = 4410 ClientLeft = 60 ClientTop = 630 ClientWidth = 6195 LinkTopic = "Form1" MDIChild = -1 'True ScaleHeight = 4410 ScaleWidth = 6195 WindowState = 2 'Maximized Begin VB.TextBox txtCapital Height = 375 Left = 2160 TabIndex = 0 Top = 600 Width = 1335 End Begin VB.TextBox txtTaxaJuro Height = 375 Left = 2160 TabIndex = 1 Top = 1080 Width = 1335 End Begin VB.TextBox txtNrAnos Height = 375 Left = 2160 TabIndex = 2 Top = 1560 Width = 1335 End Begin VB.CommandButton cmdAnular Caption = "Anular" Height = 495 Left = 3960 TabIndex = 4 Top = 2400 Width = 1095 End Begin VB.CommandButton cmdConfirmar Caption = "Confirmar" Height = 495 Left = 2280 TabIndex = 3 Top = 2400 Width = 1095 End Begin VB.Label lblNrAnos Alignment = 1 'Right Justify Caption = "Nr de Anos" Height = 375 Left = 600 TabIndex = 7 Top = 1560 Width = 1335 End Begin VB.Label lblTaxaJuro Alignment = 1 'Right Justify Caption = "Taxa de Juro" Height = 375 Left = 600 TabIndex = 6 Top = 1080 Width = 1335 End Begin VB.Label lblCapital Alignment = 1 'Right Justify Caption = "Capital " Height = 375 Left = 720 TabIndex = 5 Top = 600 Width = 1335 End Begin VB.Menu mnuVirtual Caption = "" End End Attribute VB_Name = "frmIntroducaoDados" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Option Explicit Dim NrAnos As Integer Private Sub cmdAnular_Click() Unload Me End Sub Private Sub cmdConfirmar_Click() Set Emprestimo = New cEmprestimo Emprestimo.TaxaJuro = CDbl(txtTaxaJuro.Text) Emprestimo.CapitalDivida = CDbl(txtCapital.Text) Emprestimo.NrPrestacoes = CDbl(txtNrAnos.Text) * 12 Unload Me frmEstadoEmprestimo.Show End Sub